- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 1,599 for 1byte (0.02 seconds)
-
src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java
*/ @Test void testConstructorWithEmptyToken() { byte[] emptyToken = new byte[0]; assertThrows(PACDecodingException.class, () -> new KerberosToken(emptyToken)); } /** * Test constructor with a malformed token (not ASN.1). */ @Test void testConstructorWithMalformedToken() { byte[] malformedToken = "This is not a valid token".getBytes();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
// Verify all constants have expected values assertEquals((byte) 20, FileInformation.FILE_ENDOFFILE_INFO); assertEquals((byte) 0x4, FileInformation.FILE_BASIC_INFO); assertEquals((byte) 0x5, FileInformation.FILE_STANDARD_INFO); assertEquals((byte) 0x6, FileInformation.FILE_INTERNAL_INFO); assertEquals((byte) 10, FileInformation.FILE_RENAME_INFO); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java
@Override boolean doEquals(byte[] a, byte[] b) { return MessageDigest.isEqual(a, b); } }, ARRAYS_EQUALS { @Override boolean doEquals(byte[] a, byte[] b) { return Arrays.equals(a, b); } }; abstract boolean doEquals(byte[] a, byte[] b); } private byte[] testBytesA; private byte[] testBytesB; @BeforeExperimentCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 4K bytes - Click Count (0) -
src/main/java/jcifs/smb/compression/CompressionService.java
* * @param data the data to compress * @param algorithm the compression algorithm to use * @return the compressed data * @throws CIFSException if compression fails */ byte[] compress(byte[] data, int algorithm) throws CIFSException; /** * Compresses data using the specified algorithm with offset and length. * * @param data the data bufferCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java
*/ @Test public void test_serializationConsistency() { String original = "Consistency Test"; byte[] serialized1 = serializer.fromObjectToBinary(original); byte[] serialized2 = serializer.fromObjectToBinary(original); // Note: Serialized bytes may not be identical due to metadata, // but deserialization should produce the same resultCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.6K bytes - Click Count (0) -
src/archive/zip/writer_test.go
Method: Deflate, Mode: 0644, }, { Name: "setuid", Data: []byte("setuid file"), Method: Deflate, Mode: 0755 | fs.ModeSetuid, }, { Name: "setgid", Data: []byte("setgid file"), Method: Deflate, Mode: 0755 | fs.ModeSetgid, }, { Name: "symlink", Data: []byte("../link/target"), Method: Deflate, Mode: 0755 | fs.ModeSymlink, }, {Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Jan 28 04:20:09 GMT 2025 - 14.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
testBuffer = new byte[100]; testBuffer[0] = (byte) 0xFF; // Non-zero = Deny testBuffer[1] = (byte) 0xFF; // All flags testBuffer[2] = (byte) 0xFF; // Size low byte testBuffer[3] = (byte) 0xFF; // Size high byte testBuffer[4] = (byte) 0xFF; // Access mask all bits testBuffer[5] = (byte) 0xFF; testBuffer[6] = (byte) 0xFF; testBuffer[7] = (byte) 0xFF;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
} public void testRead_withProcessor() throws IOException { byte[] processedBytes = new byte[bytes.length]; ByteProcessor<byte[]> processor = new ByteProcessor<byte[]>() { int pos; @Override public boolean processBytes(byte[] buf, int off, int len) throws IOException { System.arraycopy(buf, off, processedBytes, pos, len);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 15.6K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java
@Override boolean doEquals(byte[] a, byte[] b) { return MessageDigest.isEqual(a, b); } }, ARRAYS_EQUALS { @Override boolean doEquals(byte[] a, byte[] b) { return Arrays.equals(a, b); } }; abstract boolean doEquals(byte[] a, byte[] b); } private byte[] testBytesA; private byte[] testBytesB; @BeforeExperimentCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
assertEquals(DACL_SECURITY_INFORMATION, desc3.securityInformation); // Verify writing doesn't affect other instances byte[] dst1 = new byte[8]; byte[] dst2 = new byte[8]; byte[] dst3 = new byte[8]; desc1.writeParametersWireFormat(dst1, 0); desc2.writeParametersWireFormat(dst2, 0); desc3.writeParametersWireFormat(dst3, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0)