- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of about 10,000 for String2 (0.32 sec)
-
tensorflow/cc/experimental/libtf/tests/value_test.cc
} TEST(ValueTest, TestString) { TaggedValue value1a("string1"); std::string s = "string"; s += "1"; TaggedValue value1b(s.c_str()); // Verify that interned the pointers are the same. ASSERT_EQ(value1b.s(), value1a.s()); TaggedValue value2("string2"); ASSERT_NE(value1a.s(), value2.s()); ASSERT_STREQ(value1a.s(), "string1"); ASSERT_STREQ(value2.s(), "string2"); } TEST(Test1, TestDict) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 01 11:18:25 UTC 2022 - 3.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
assertEquals(getRoot() + "Program File", ResourceUtil.getFileName(url)); url = ResourceUtil.getResource("java/lang/String.class"); assertNull(ResourceUtil.getFile(url)); } private String getRoot() throws IOException { final String root = new File("/").getCanonicalPath().replace('\\', '/'); if (root.startsWith("/")) { return root; }
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.3K bytes - Viewed (0) -
src/internal/stringslite/strings.go
} return s[:len(s)-len(suffix)], true } func TrimPrefix(s, prefix string) string { if HasPrefix(s, prefix) { return s[len(prefix):] } return s } func TrimSuffix(s, suffix string) string { if HasSuffix(s, suffix) { return s[:len(s)-len(suffix)] } return s } func Clone(s string) string { if len(s) == 0 { return "" } b := make([]byte, len(s)) copy(b, s)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 01:23:42 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/util/Strings.java
private static final String SECRET_PATTERN = "^(smb.*:).*(@.*)$"; private static final String SECRET_MASK_REPLACE = "$1******$2"; /** * */ private Strings () {} /** * * @param str * @param encoding * @return encoded */ public static byte[] getBytes ( String str, Charset encoding ) { if ( str == null ) {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/composite-builds/hierarchical-multirepo/kotlin/modules/string-utils/src/main/java/org/sample/stringutils/Strings.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 318 bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/composite-builds/basic/groovy/my-utils/string-utils/src/main/java/org/sample/stringutils/Strings.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 318 bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/composite-builds/hierarchical-multirepo/groovy/modules/string-utils/src/main/java/org/sample/stringutils/Strings.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 318 bytes - Viewed (0) -
src/test/java/jcifs/tests/Strings.java
*/ package jcifs.tests; /** * @author mbechler * */ public class Strings { /** * from http://www.cl.cam.ac.uk/~mgk25/ucs/examples/quickbrown.txt */ static final String[] UNICODE_STRINGS = new String[] { "da - jordbær fløde på", // x "de - Zwölf Boxkämpfer", // x "el - Γαζέες καὶ μυρτιὲς", // x
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2K bytes - Viewed (0) -
pilot/pkg/security/authz/matcher/string.go
case v == "*": return StringMatcherRegex(".+") case strings.HasPrefix(v, "*"): if prefix == "" { return StringMatcherSuffix(strings.TrimPrefix(v, "*"), false) } return StringMatcherRegex(prefix + ".*" + strings.TrimPrefix(v, "*")) case strings.HasSuffix(v, "*"): return StringMatcherPrefix(prefix+strings.TrimSuffix(v, "*"), false) default: return StringMatcherExact(prefix+v, false) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 25 10:39:25 UTC 2024 - 3.5K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/impl/string.h
*/ explicit String(const char* s); String() : String("") {} String(const String& s) : value_(s.value_) {} // This is the same as the default equality operator, which works because // we're interning all strings. It is specified here so we are explicit about // it. We're not saying "= default;" because we can't use C++20 features yet. bool operator==(const String& other) const { return value_ == other.value_; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jul 30 17:28:28 UTC 2021 - 2.3K bytes - Viewed (0)