- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,516 for cstring (0.26 sec)
-
src/cmd/cgo/doc.go
// if C.free is needed). func C.CString(string) *C.char // Go []byte slice to C array // The C array is allocated in the C heap using malloc. // It is the caller's responsibility to arrange for it to be // freed, such as by calling C.free (be sure to include stdlib.h // if C.free is needed). func C.CBytes([]byte) unsafe.Pointer // C string to Go string func C.GoString(*C.char) string
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Dec 11 23:57:34 UTC 2024 - 44K 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) -
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) -
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/org/codelibs/fess/it/search/SearchApiTests.java
private static final String NAME_PREFIX = "searchApiTest_"; private static final String DEFAULT_TESTDATA_PATH = "/tmp/fess-testdata"; private static final String CRAWL_LABEL = NAME_PREFIX + "_label"; private static final String TEST_LABEL = "tools"; private static String fileConfigId; private static String labelId; private static String crawlLabelId; @BeforeAll
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
} protected static List<String> getWebConfigIds(final String namePrefix) { final String response = getJsonResponse("/api/admin/webconfig/settings"); final List<String> idList = JsonPath.from(response).getList(getResponsePath(namePrefix) + ".id"); return idList; } protected static String createFileConfig(final Map<String, Object> requestBody) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/QueryHelper.java
* @return the preference value for GSA search requests, or null if not applicable */ protected String processGsaSearchPreference(final HttpServletRequest req, final String query) { final String pref = ComponentUtil.getFessConfig().getQueryGsaDefaultPreference(); if (PREFERENCE_QUERY.equals(pref)) { return Integer.toString(query.hashCode()); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 19.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java
Map<String, String> complexObject = new HashMap<>(); complexObject.put("nested", "value"); dataStoreParams.put("complexKey", complexObject); assertEquals(complexObject, dataStoreParams.get("complexKey")); String asString = dataStoreParams.getAsString("complexKey"); assertNotNull(asString); assertTrue(asString.contains("nested")); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.5K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
} } override fun toString(): String = "TestProjectTime(testProject=$testProject, totalTime=$totalTime, scenarios = ${scenarioDurations.map { it.scenario } }" } data class Scenario( val className: String, val scenario: String, ) { companion object { fun fromTestId(testId: String): Scenario { val dotBeforeScenarioName = testId.lastIndexOf('.')Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Jul 10 02:18:03 UTC 2025 - 16.6K bytes - Viewed (0)