- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,435 for cstring (0.07 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) -
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) -
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) -
schema/field_test.go
} type UserWithPermissionControl struct { ID uint Name string `gorm:"-"` Name2 string `gorm:"->"` Name3 string `gorm:"<-"` Name4 string `gorm:"<-:create"` Name5 string `gorm:"<-:update"` Name6 string `gorm:"<-:create,update"` Name7 string `gorm:"->:false;<-:create,update"` Name8 string `gorm:"->;-:migration"` } func TestParseFieldWithPermission(t *testing.T) {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sat Feb 19 09:02:53 UTC 2022 - 12.7K bytes - Viewed (0)