- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 782 for encoded (1.39 sec)
-
src/bufio/scan_test.go
t.Fatalf("white space property disagrees: %#U should be %t", r, unicode.IsSpace(r)) } } } var scanTests = []string{ "", "a", "¼", "☹", "\x81", // UTF-8 error "\uFFFD", // correctly encoded RuneError "abcdefgh", "abc def\n\t\tgh ", "abc¼☹\x81\uFFFD日本語\x82abc", } func TestScanByte(t *testing.T) { for n, test := range scanTests { buf := strings.NewReader(test) s := NewScanner(buf)
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
verify(raf).write(any(byte[].class), eq(0), eq(2)); // bytes verify(raf).write(any(byte[].class), eq(0), eq(4)); // chars } @Test @DisplayName("writeUTF(): prefixes size and writes encoded bytes") void writeUTF_encodesAndPrefixes() throws Exception { SmbRandomAccessFile raf = spy(newInstance("rw", false, true, false)); doNothing().when(raf).write(any(byte[].class), anyInt(), anyInt());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
} } } /** * Encodes a URL using the specified character encoding. * * @param url the URL to encode * @param enc the character encoding to use * @return the encoded URL */ protected String encodeUrl(final String url, final String enc) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 29 07:42:33 UTC 2025 - 30.5K bytes - Viewed (0) -
src/bytes/buffer.go
// Buffer is empty, reset to recover space. b.Reset() return 0, io.EOF } c := b.buf[b.off] b.off++ b.lastRead = opRead return c, nil } // ReadRune reads and returns the next UTF-8-encoded // Unicode code point from the buffer. // If no bytes are available, the error returned is io.EOF. // If the bytes are an erroneous UTF-8 encoding, it // consumes one byte and returns U+FFFD, 1.
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Nov 14 19:01:17 UTC 2025 - 16.5K bytes - Viewed (0) -
cmd/auth-handler.go
} // Check if a session policy is set. If so, decode it here. sp, spok := claims.Lookup(policy.SessionPolicyName) if spok { // Looks like subpolicy is set and is a string, if set then its // base64 encoded, decode it. Decoding fails reject such // requests. spBytes, err := base64.StdEncoding.DecodeString(sp) if err != nil { // Base64 decoding fails, we should log to indicate
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 25.4K bytes - Viewed (0) -
cmd/object-api-utils_test.go
} err = w.Close() if err != nil { t.Fatal(err) } var ( got = rdrBuf.Bytes() want = stdBuf.Bytes() ) if !bytes.Equal(got, want) { t.Errorf("encoded data does not match\n\t%q\n\t%q", got, want) } var decBuf bytes.Buffer decRdr := s2.NewReader(&rdrBuf) _, err = io.Copy(&decBuf, decRdr) if err != nil { t.Fatal(err) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 24.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
final File targetDir = new File(userDir, "target"); return new File(targetDir, "logs").getAbsolutePath(); } /** * Encodes a URL path for filtering. * * @param path The path to encode. * @return The encoded path. */ public String encodeUrlFilter(final String path) { if (filterPathEncoding == null || path == null) { return path; }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 08:30:43 UTC 2025 - 36.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
* cryptographically secure, but it produces a high-quality hash with fewer collisions than some * alternatives we've used in the past. * * <p>FarmHash fingerprints are encoded by {@link HashCode#asBytes} in little-endian order. This * means {@link HashCode#asLong} is guaranteed to return the same value that * farmhash::Fingerprint64() would for the same input (when compared using {@link
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.8K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
* names</a> such as {@code 网络.cn} are supported, as are the equivalent <a * href="http://en.wikipedia.org/wiki/Internationalized_domain_name">IDNA Punycode-encoded</a> * versions. * * @author Catherine Berry * @since 5.0 */ @GwtCompatible @Immutable public final class InternetDomainName {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.9K bytes - Viewed (0) -
src/archive/zip/zip_test.go
t.Errorf("Modified: got %s, want %s\n", got, want) } } type repeatedByte struct { off int64 b byte n int64 } // rleBuffer is a run-length-encoded byte buffer. // It's an io.Writer (like a bytes.Buffer) and also an io.ReaderAt, // allowing random-access reads. type rleBuffer struct { buf []repeatedByte } func (r *rleBuffer) Size() int64 {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0)