Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,324 for isSafe (0.18 sec)

  1. tensorflow/c/safe_ptr.h

      void operator()(TF_Buffer* p) const { TF_DeleteBuffer(p); }
    };
    
    }  // namespace detail
    
    // Safe containers for an owned TF_Tensor. On destruction, the tensor will be
    // deleted by TF_DeleteTensor.
    using Safe_TF_TensorPtr = std::unique_ptr<TF_Tensor, detail::TFTensorDeleter>;
    Safe_TF_TensorPtr make_safe(TF_Tensor* tensor);
    
    // Safe containers for an owned TFE_TensorHandle. On destruction, the handle
    // will be deleted by TFE_DeleteTensorHandle.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 22 19:17:09 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. 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)
  3. maven-core/src/main/java/org/apache/maven/properties/internal/SystemProperties.java

    public class SystemProperties {
        /**
         * Thread-safe System.properties copy implementation.
         */
        public static void addSystemProperties(Properties props) {
            props.putAll(getSystemProperties());
        }
    
        /**
         * Returns a copy of {@link System#getProperties()} in a thread-safe manner.
         *
         * @return {@link System#getProperties()} obtained in a thread-safe manner.
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 2K bytes
    - Viewed (0)
  4. pkg/kubelet/sysctl/safe_sysctls.go

    	},
    	{
    		name:   "net.ipv4.tcp_keepalive_probes",
    		kernel: utilkernel.TCPKeepAliveProbesNamespacedKernelVersion,
    	},
    }
    
    // SafeSysctlAllowlist returns the allowlist of safe sysctls and safe sysctl patterns (ending in *).
    //
    // A sysctl is called safe iff
    // - it is namespaced in the container or the pod
    // - it is isolated, i.e. has no influence on any other pod on the same node.
    func SafeSysctlAllowlist() []string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 19:24:34 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. 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)
  6. src/runtime/internal/sys/consts.go

    // The race build also needs more stack. See issue 54291.
    // This arithmetic must match that in cmd/internal/objabi/stack.go:stackGuardMultiplier.
    const StackGuardMultiplier = 1 + goos.IsAix + isRace
    
    // DefaultPhysPageSize is the default physical page size.
    const DefaultPhysPageSize = goarch.DefaultPhysPageSize
    
    // PCQuantum is the minimal unit for a program counter (1 on x86, 4 on most other systems).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 16:26:25 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/escape/Escapers.java

        private Builder() {}
    
        /**
         * Sets the safe range of characters for the escaper. Characters in this range that have no
         * explicit replacement are considered 'safe' and remain unescaped in the output. If {@code
         * safeMax < safeMin} then the safe range is empty.
         *
         * @param safeMin the lowest 'safe' character
         * @param safeMax the highest 'safe' character
         * @return the builder instance
         */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  8. 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)
  9. src/runtime/mbarrier.go

    // signal handler profile logging. That's safe only because of the
    // deletion barrier. See profbuf.go for a detailed argument. If we
    // remove the deletion barrier, we'll have to work out a new way to
    // handle the profile logging.
    
    // typedmemmove copies a value of type typ to dst from src.
    // Must be nosplit, see #16026.
    //
    // TODO: Perfect for go:nosplitrec since we can't have a safe point
    // anywhere in the bulk barrier or memmove.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/language/tags.go

    // MustParse is like Parse, but panics if the given BCP 47 tag cannot be parsed.
    // It simplifies safe initialization of Tag values.
    func MustParse(s string) Tag {
    	t, err := Parse(s)
    	if err != nil {
    		panic(err)
    	}
    	return t
    }
    
    // MustParse is like Parse, but panics if the given BCP 47 tag cannot be parsed.
    // It simplifies safe initialization of Tag values.
    func (c CanonType) MustParse(s string) Tag {
    	t, err := c.Parse(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top