- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 129 for Punycode (0.12 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 Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 5K bytes - Viewed (0) -
internal/s3select/jstream/scratch.go
package jstream import ( "unicode/utf8" ) type scratch struct { data []byte fill int } // reset scratch buffer func (s *scratch) reset() { s.fill = 0 } // bytes returns the written contents of scratch buffer func (s *scratch) bytes() []byte { return s.data[0:s.fill] } // grow scratch buffer func (s *scratch) grow() { ndata := make([]byte, cap(s.data)*2) copy(ndata, s.data) s.data = ndata }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 758 bytes - Viewed (0) -
internal/event/target/postgresql.go
} else if match { return nil } // normalize the name to letters, digits, _ or $ valid := true cleaned := strings.Map(func(r rune) rune { switch { case unicode.IsLetter(r): return 'a' case unicode.IsDigit(r): return '0' case r == '_', r == '$': return r default: valid = false return -1 } }, name) if valid {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 13.3K bytes - Viewed (0) -
.gitignore
/src/cmd/dist/dist /src/cmd/go/internal/cfg/zdefaultcc.go /src/cmd/internal/objabi/zbootstrap.go /src/go/build/zcgo.go /src/go/doc/headscan /src/internal/buildcfg/zbootstrap.go /src/internal/runtime/sys/zversion.go /src/unicode/maketables /src/time/tzdata/zzipdata.go /test.out /test/garbage/*.out /test/pass.out /test/run.out /test/times.out # This file includes artifacts of Go build that should not be checked in.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Jul 23 19:05:35 UTC 2024 - 958 bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/internal/IsProbablyUtf8.kt
package okhttp3.logging.internal import java.io.EOFException import okio.Buffer /** * Returns true if the body in question probably contains human readable text. Uses a small * sample of code points to detect unicode control characters commonly used in binary file * signatures. */ fun Buffer.isProbablyUtf8(): Boolean { try { val prefix = Buffer() val byteCount = size.coerceAtMost(64) copyTo(prefix, 0, byteCount)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 07 16:05:34 UTC 2024 - 1.4K 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 Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Nov 02 17:17:44 UTC 2017 - 597 bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
try { int flags = getFlags(); boolean unicode = (flags & NTLMSSP_NEGOTIATE_UNICODE) != 0; String oem = unicode ? null : getOEMEncoding(); String domainName = getDomain(); byte[] domain = null; if (domainName != null && domainName.length() != 0) { domain = unicode ? domainName.getBytes(UNI_ENCODING) :
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 22.9K bytes - Viewed (0) -
internal/bucket/replication/tag.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package replication import ( "encoding/xml" "unicode/utf8" ) // Tag - a tag for a replication configuration Rule filter. type Tag struct { XMLName xml.Name `xml:"Tag" json:"Tag"` Key string `xml:"Key,omitempty" json:"Key,omitempty"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.6K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java
|| c > safeMaxChar || c < safeMinChar) { return escapeSlow(s, i); } } return s; } /** * Escapes a single Unicode code point using the replacement array and safe range values. If the * given character does not have an explicit replacement and lies outside the safe range then * {@link #escapeUnsafe} is called. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/NamingTest.java
runFilenameTest("just-testing", "adsfg.txt"); } @Test public void testCodepage () throws MalformedURLException, UnknownHostException, CIFSException { Assume.assumeFalse("Unicode support", getContext().getConfig().isUseUnicode()); Assume.assumeFalse("SMB2", getContext().getConfig().getMaximumVersion().isSMB2()); String oemEncoding = getContext().getConfig().getOemEncoding();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jun 06 10:48:05 UTC 2020 - 7K bytes - Viewed (0)