- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,471 for isSafe (0.35 sec)
-
guava-tests/test/com/google/common/net/PercentEscaperTest.java
} } public void testBadArguments_plusforspace() { // space can be a safe char if plusForSpace is false PercentEscaper unused = new PercentEscaper(" ", false); // space cannot be a safe char is plusForSpace is true String msg = "plusForSpace cannot be specified when space is a 'safe' character"; try { new PercentEscaper(" ", true); fail(msg);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 5.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/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 } // MustParseBase is like ParseBase, but panics if the given base cannot be parsed. // It simplifies safe initialization of Base values. func MustParseBase(s string) Language { b, err := ParseBase(s)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 1.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
plugin/pkg/auth/authorizer/node/intset.go
} // has returns true if the specified id has a positive refcount. // it is safe to call concurrently, but must not be called concurrently with any of the other methods. func (s *intSet) has(i int) bool { if s == nil { return false } return s.members[i] > 0 } // reset removes all ids, effectively setting their refcounts to 0. // it is not thread-safe. func (s *intSet) reset() { for k := range s.members {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 10 18:24:13 UTC 2020 - 1.6K bytes - Viewed (0) -
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) -
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) -
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)