Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for isSafe (0.26 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/internal/analysisutil/util.go

    func HasSideEffects(info *types.Info, e ast.Expr) bool {
    	safe := true
    	ast.Inspect(e, func(node ast.Node) bool {
    		switch n := node.(type) {
    		case *ast.CallExpr:
    			typVal := info.Types[n.Fun]
    			switch {
    			case typVal.IsType():
    				// Type conversion, which is safe.
    			case typVal.IsBuiltin():
    				// Builtin func, conservatively assumed to not
    				// be safe for now.
    				safe = false
    				return false
    			default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/build/relnote/links.go

    	i := strings.LastIndex(text, ".")
    	name = text[i+1:]
    	if !isName(name) {
    		return text, "", false
    	}
    	if i >= 0 {
    		before = text[:i]
    	}
    	return before, name, true
    }
    
    // isName reports whether s is a capitalized Go identifier (like Name).
    func isName(s string) bool {
    	t, ok := ident(s)
    	if !ok || t != s {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/typesafe/TypeSafeProjectAccessorsIntegrationTest.groovy

            """
    
            when:
            run 'help'
    
            then:
            outputContains 'Type-safe project accessors is an incubating feature.'
        }
    
        def "can use the #notation notation on type-safe accessor"() {
            given:
            createDirs("other")
            settingsFile << """
                include 'other'
            """
    
            buildFile << """
                configurations {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 20:11:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. src/html/template/doc.go

    This package assumes that template authors are trusted, that Execute's data
    parameter is not, and seeks to preserve the properties below in the face
    of untrusted data:
    
    Structure Preservation Property:
    "... when a template author writes an HTML tag in a safe templating language,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:04:29 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/PayloadClassLoaderRegistry.java

        /**
         * Starts serializing an object graph.
         * The returned value is not required to be thread-safe.
         */
        SerializeMap newSerializeSession();
    
        /**
         * Starts deserializing an object graph.
         * The returned value is not required to be thread-safe.
         */
        DeserializeMap newDeserializeSession();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r50/ProjectStateLockingCrossVersionTest.groovy

                collectOutputs(executer)
                executer.run()
            }
    
            then:
            !stdout.toString().contains("was resolved without accessing the project in a safe manner")
    
            and:
            assertHasConfigureSuccessfulLogging()
        }
    
        def "does not emit deprecation warnings when eclipse model builder resolves a configuration"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. src/internal/platform/supported.go

    // "default" buildmode. On Windows this is affected by -race,
    // so force the caller to pass that in to centralize that choice.
    func DefaultPIE(goos, goarch string, isRace bool) bool {
    	switch goos {
    	case "android", "ios":
    		return true
    	case "windows":
    		if isRace {
    			// PIE is not supported with -race on windows;
    			// see https://go.dev/cl/416174.
    			return false
    		}
    		return true
    	case "darwin":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:50:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. src/runtime/tracemap.go

    // Simple append-only thread-safe hash map for tracing.
    // Provides a mapping between variable-length data and a
    // unique ID. Subsequent puts of the same data will return
    // the same ID. The zero value is ready to use.
    //
    // Uses a region-based allocation scheme internally, and
    // reset clears the whole map.
    //
    // It avoids doing any high-level Go operations so it's safe
    // to use even in sensitive contexts.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. manifests/charts/istio-control/istio-discovery/templates/NOTES.txt

        "meshConfig.defaultConfig.tracing.stackdriver.maxNumberOfMessageEvents" "Istio supported tracers"
    }}
    {{- range $dep, $replace := $deps }}
    {{- /* Complex logic to turn the string above into a null-safe traversal like ((.Values.global).certificates */}}
    {{- $res := tpl (print "{{" (repeat (split "." $dep | len) "(")  ".Values." (replace "." ")." $dep) ")}}") $}}
    {{- if not (eq $res "")}}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 20:02:28 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. src/runtime/traceregion.go

    // Simple not-in-heap bump-pointer traceRegion allocator.
    
    package runtime
    
    import (
    	"internal/runtime/atomic"
    	"runtime/internal/sys"
    	"unsafe"
    )
    
    // traceRegionAlloc is a thread-safe region allocator.
    // It holds a linked list of traceRegionAllocBlock.
    type traceRegionAlloc struct {
    	lock     mutex
    	dropping atomic.Bool          // For checking invariants.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top