- Sort Score
- Result 10 results
- Languages All
Results 981 - 990 of 1,386 for Byte (0.02 sec)
-
src/test/java/org/codelibs/core/io/CopyUtilTest.java
import java.io.StringWriter; import java.net.URL; import org.codelibs.core.net.URLUtil; import org.junit.Test; /** * @author koichik */ public class CopyUtilTest { static byte[] srcBytes = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; static String srcString = "ABCDEFGHIJKLMN"; static String urlString = "あいうえお"; InputStream is = new ByteArrayInputStream(srcBytes);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java
0x2019F << 16 | SmbNamedPipe.PIPE_TYPE_RDWR | SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT, auth); } @Override protected void doSendFragment(final byte[] buf, final int off, final int length, final boolean isDirect) throws IOException { if (out != null && !out.isOpen()) { throw new IOException("DCERPC pipe is no longer open"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
} } /** * Checks if the byte array contains UTF-8 BOM (Byte Order Mark). * * @param b the byte array to check * @return true if the bytes represent UTF-8 BOM, false otherwise */ private boolean isUtf8BomBytes(final byte[] b) { return b[0] == (byte) 0xEF && b[1] == (byte) 0xBB && b[2] == (byte) 0xBF; } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 54.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java
} @Override int writeTrailerWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dstIndex += calledName.writeWireFormat(dst, dstIndex); dstIndex += callingName.writeWireFormat(dst, dstIndex); return dstIndex - start; } @Override int readTrailerWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
cmd/erasure-healing_test.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 48.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java
} public void test_name() { assertEquals("textTransformer", textTransformer.getName()); } public void test_transform_text() throws Exception { final byte[] data = new String("xyz").getBytes(); final ResponseData responseData = new ResponseData(); responseData.setUrl("file:/test.txt"); responseData.setCharSet(Constants.UTF_8);
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SearchHelperTest.java
"This is test data for compression that should be long enough to actually compress effectively when using gzip compression algorithm"; byte[] originalBytes = testData.getBytes(); byte[] compressed = searchHelper.gzipCompress(originalBytes); byte[] decompressed = searchHelper.gzipDecompress(compressed); assertEquals(testData, new String(decompressed));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 18.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractStreamingHasher.java
bb.putLong(0); } Java8Compatibility.limit(bb, chunkSize); Java8Compatibility.flip(bb); process(bb); } @Override @CanIgnoreReturnValue public final Hasher putBytes(byte[] bytes, int off, int len) { return putBytesInternal(ByteBuffer.wrap(bytes, off, len).order(ByteOrder.LITTLE_ENDIAN)); } @Override @CanIgnoreReturnValue public final Hasher putBytes(ByteBuffer readBuffer) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 7.1K bytes - Viewed (0) -
cmd/erasure-metadata-utils.go
// the 'writeQuorum' this function returns "" if quorum cannot // be achieved and disks have too many inconsistent versions. func reduceCommonVersions(diskVersions [][]byte, writeQuorum int) (versions []byte) { diskVersionsCount := make(map[uint64]int) for _, versions := range diskVersions { if len(versions) > 0 { diskVersionsCount[binary.BigEndian.Uint64(versions)]++ } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.7K bytes - Viewed (0) -
cmd/erasure-sets_test.go
{"117Gn8rfHL2ACARPAhaFd0AGzic9pUbIA/5OCn5A", 35}, {"SHØRT", 49}, {"There are far too many object names, and far too few bucket names!", 8}, {"a/b/c/", 159}, {"/a/b/c", 96}, {string([]byte{0xff, 0xfe, 0xfd}), 147}, } // Tests hashing order to be consistent. for i, testCase := range testCases { if sipHashElement := hashKey("SIPMOD", testCase.objectName, 200, testUUID); sipHashElement != testCase.sipHash {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.8K bytes - Viewed (0)