- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 580 for Unicode (0.04 sec)
-
logger/sql.go
import ( "database/sql/driver" "fmt" "reflect" "regexp" "strconv" "strings" "time" "unicode" "gorm.io/gorm/utils" ) const ( tmFmtWithMS = "2006-01-02 15:04:05.999" tmFmtZero = "0000-00-00 00:00:00" nullStr = "NULL" ) func isPrintable(s string) bool { for _, r := range s { if !unicode.IsPrint(r) { return false } } return true }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 5K bytes - Viewed (0) -
src/bufio/export_test.go
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package bufio // Exported for testing only. import ( "unicode/utf8" ) var IsSpace = isSpace const DefaultBufSize = defaultBufSize func (s *Scanner) MaxTokenSize(n int) { if n < utf8.UTFMax || n > 1e9 { panic("bad max token size") } if n < len(s.buf) {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Nov 02 17:17:44 UTC 2017 - 597 bytes - Viewed (0) -
android/guava/src/com/google/common/net/PercentEscaper.java
char c = s.charAt(index); if (c >= safeOctets.length || !safeOctets[c]) { return escapeSlow(s, index); } } return s; } /** Escapes the given Unicode code point in UTF-8. */ @Override protected char @Nullable [] escape(int cp) { // We should never get negative values here but if we do it will throw an
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
*/ int FLAGS2_PERMIT_READ_IF_EXECUTE_PERM = 0x2000; /** * Use 32-bit status codes flag. */ int FLAGS2_STATUS32 = 0x4000; /** * Strings are Unicode flag. */ int FLAGS2_UNICODE = 0x8000; /** * No capabilities. */ int CAP_NONE = 0x0000; /** * Raw mode transfers are supported capability. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
src/bytes/bytes_test.go
benchBytes(b, indexSizes, bmIndexRuneUnicode(unicode.Latin, 'é')) }) b.Run("Cyrillic", func(b *testing.B) { // Cyrillic is mostly 2 and 3 byte runes. benchBytes(b, indexSizes, bmIndexRuneUnicode(unicode.Cyrillic, 'Ꙁ')) }) b.Run("Han", func(b *testing.B) { // Han consists only of 3 and 4 byte runes. benchBytes(b, indexSizes, bmIndexRuneUnicode(unicode.Han, '𠀿')) }) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jul 28 18:13:58 UTC 2025 - 62.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
assertEquals(testString, readString); } @Test void testStringReadWriteUnicode() throws UnsupportedEncodingException { smb.useUnicode = true; String testString = "Hello Unicode World"; byte[] buffer = new byte[testString.length() * 2 + 2]; int len = smb.writeString(testString, buffer, 0); assertEquals(testString.length() * 2 + 2, len);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/bufio/scan.go
if atEOF { return len(data), dropCR(data), nil } // Request more data. return 0, nil, nil } // isSpace reports whether the character is a Unicode white space character. // We avoid dependency on the unicode package, but check validity of the implementation // in the tests. func isSpace(r rune) bool { if r <= '\u00FF' { // Obvious ASCII ones: \t through \r plus space. Plus two Latin-1 oddballs.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed May 21 18:05:26 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/UnicodeString.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.dcerpc; /** * A Unicode string representation for DCE/RPC operations in JCIFS. * This class wraps strings for use in RPC calls with optional zero termination. */ public class UnicodeString extends rpc.unicode_string { boolean zterm;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java
assertEquals(message, exception.getMessage()); } public void test_unicodeInMessage() { // Test unicode characters in message String message = "Unicode test: 日本語 中文 한국어 🚀 ñ é ü"; SearchQueryException exception = new SearchQueryException(message); assertEquals(message, exception.getMessage()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
} int writeString(final String str, final byte[] dst, int dstIndex, final boolean useUnicode) { final int start = dstIndex; try { if (useUnicode) { // Unicode requires word alignment if ((dstIndex - headerStart) % 2 != 0) { dst[dstIndex++] = (byte) '\0'; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0)