- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,443 for tstring (0.05 sec)
-
src/test/java/jcifs/util/ServerResponseValidatorTest.java
}); } @Test public void testStringWithAllowedWhitespace() throws Exception { validator.validateString("test\tstring", 100, "test"); validator.validateString("test\r\nstring", 100, "test"); // Should pass without exception } @Test public void testValidPath() throws Exception { validator.validatePath("\\share\\folder\\file.txt");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
assertEquals("teststring", InputValidator.sanitizeForLogging("test\nstring")); assertEquals("teststring", InputValidator.sanitizeForLogging("test\rstring")); assertEquals("teststring", InputValidator.sanitizeForLogging("test\tstring")); // Test long string truncation String longString = "a".repeat(1100);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Strings.java
public static String nullToEmpty(@Nullable String string) { return Platform.nullToEmpty(string); } /** * Returns the given string if it is nonempty; {@code null} otherwise. * * @param string the string to test and possibly return * @return {@code string} itself if it is nonempty; {@code null} if it is empty or null */ public static @Nullable String emptyToNull(@Nullable String string) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 27 17:53:41 UTC 2025 - 12.2K bytes - Viewed (0) -
docs/ru/docs/tutorial/testing.md
Sebastián RamÃrez <******@****.***> 1731896744 +0100
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
for (Map<String, Object> doc : docs) { String[] fieldAndValue = query.split(":"); assertTrue(doc.get("content_description").toString().toLowerCase().contains(fieldAndValue[1]), doc.toString()); } } @Test public void searchTestWithSort() throws Exception { String sortField = "content_length"; Map<String, String> params = new HashMap<>(); params.put("q", "*");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/CrawlTestBase.java
return "response.settings.findAll {it.name.startsWith(\"" + namePrefix + "\")}"; } protected static String getJsonResponse(final String path) { final Map<String, Object> searchBody = new HashMap<>(); final String response = checkMethodBase(searchBody).get(path).asString(); return response; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
} private static @Nullable String convertDottedQuadToHex(String ipString) { int lastColon = ipString.lastIndexOf(':'); String initialPart = ipString.substring(0, lastColon + 1); String dottedQuad = ipString.substring(lastColon + 1); byte[] quad = textToNumericFormatV4(dottedQuad); if (quad == null) { return null; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
return suite; } private static final String STRING = ASCII + I18N; private static final String LINES = "foo\nbar\r\nbaz\rsomething"; private static final ImmutableList<String> SPLIT_LINES = ImmutableList.of("foo", "bar", "baz", "something"); private TestCharSource source; @Override public void setUp() { source = new TestCharSource(STRING); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
NegTokenInit init = new NegTokenInit(mechs, flags, null, mic); String s = init.toString(); assertTrue(s.contains("flags=" + flags), "toString should include flags"); assertTrue(s.contains(Arrays.toString(mechs)), "toString should include mechanisms"); assertTrue(s.contains("000AFF"), "toString should include MIC hex"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
private final String justAfterNull; protected NullsBefore(String justAfterNull) { if (justAfterNull == null) { throw new NullPointerException(); } this.justAfterNull = justAfterNull; } @Override public int compare(@Nullable String lhs, @Nullable String rhs) { if (lhs == rhs) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 17.2K bytes - Viewed (0)