- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,428 for CString (0.04 sec)
-
src/cmd/cgo/doc.go
// } import "C" import "unsafe" func main() { cs := C.CString("Hello from stdio") C.myprint(cs) C.free(unsafe.Pointer(cs)) } A few special functions convert between Go and C types by making copies of the data. In pseudo-Go definitions: // Go string to C string // The C string is allocated in the C heap using malloc. // It is the caller's responsibility to arrange for it to be
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Dec 11 23:57:34 UTC 2024 - 44K 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) -
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) -
src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java
getQuery("\\+-&&||!(){}[]^~*?;:/", new String[0], Collections.emptyMap(), Collections.emptyMap(), true)); } private String getAsQuery(final String query, final Map<String, String[]> conditions) { return getQuery(query, new String[0], Collections.emptyMap(), conditions, false); } private String getAsQuery(final Map<String, String[]> conditions) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 16.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java
assertEquals(4, separatorCount); } public void test_getCacheKey_emptyArrays() { String seed = "test_seed"; String[] tags = new String[0]; String[] roles = new String[0]; String[] fields = new String[0]; String[] excludes = new String[0]; String result = popularWordHelper.getCacheKey(seed, tags, roles, fields, excludes); assertNotNull(result);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 11K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TableCollectionTest.java
.withFeatures(CollectionFeature.SUPPORTS_ITERATOR_REMOVE) .createTestSuite()); Function<String, String> removeFirstCharacter = new Function<String, String>() { @Override public String apply(String input) { return input.substring(1); } }; suite.addTest( CollectionTestSuiteBuilder.using(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java
} @Override public String toImplementationClassName(String className) { return className + "Impl"; } @Override public String fromActionNameToPath(String actionName) { return "/" + actionName.toLowerCase(); } @Override public String fromPathToActionName(String path) { return path.substring(1).toLowerCase();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiRequestTest.java
private static class MockHttpServletRequest implements HttpServletRequest { private String queryString; private String servletPath; private String method = "GET"; private String requestURI = "/"; private final Map<String, String> headers = new java.util.HashMap<>(); public void setQueryString(String queryString) { this.queryString = queryString; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/cbean/cq/bs/BsFavoriteLogCQ.java
public void setId_Equal(String id) { setId_Term(id, null); } public void setId_Equal(String id, ConditionOptionCall<TermQueryBuilder> opLambda) { setId_Term(id, opLambda); } public void setId_Term(String id) { setId_Term(id, null); } public void setId_Term(String id, ConditionOptionCall<TermQueryBuilder> opLambda) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 42.7K bytes - Viewed (0)