- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 23 for 0xFE (0.08 seconds)
-
cmd/erasure-metadata-utils_test.go
{"a/b/c/", []int{3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 1, 2}}, {"/a/b/c", []int{6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 1, 2, 3, 4, 5}}, {string([]byte{0xff, 0xfe, 0xfd}), []int{15, 16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14}}, } // Tests hashing order to be consistent. for i, testCase := range testCases { hashedOrder := hashOrder(testCase.objectName, 16)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
// Random but realistic GUID byte[] testGuid = { (byte) 0x01, (byte) 0x23, (byte) 0x45, (byte) 0x67, (byte) 0x89, (byte) 0xAB, (byte) 0xCD, (byte) 0xEF, (byte) 0xFE, (byte) 0xDC, (byte) 0xBA, (byte) 0x98, (byte) 0x76, (byte) 0x54, (byte) 0x32, (byte) 0x10 }; // Security mode with signing requiredCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
assertEquals(68, SMBUtil.SMB2_HEADER.length); // Verify SMB2 header signature assertEquals((byte) 0xFE, SMBUtil.SMB2_HEADER[0]); assertEquals((byte) 'S', SMBUtil.SMB2_HEADER[1]); assertEquals((byte) 'M', SMBUtil.SMB2_HEADER[2]); assertEquals((byte) 'B', SMBUtil.SMB2_HEADER[3]);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/CharsTest.java
@GwtIncompatible // Chars.fromByteArray public void testFromByteArray() { assertThat(Chars.fromByteArray(new byte[] {0x23, 0x45, (byte) 0xDC})).isEqualTo('\u2345'); assertThat(Chars.fromByteArray(new byte[] {(byte) 0xFE, (byte) 0xDC})).isEqualTo('\uFEDC'); } @GwtIncompatible // Chars.fromByteArray public void testFromByteArrayFails() { assertThrows(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 26K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
int flags = NegTokenInit.DELEGATION | NegTokenInit.MUTUAL_AUTHENTICATION | NegTokenInit.INTEGRITY; byte[] mechToken = new byte[] { 0x01, 0x02, 0x03 }; byte[] mic = new byte[] { (byte) 0xFE, 0x55 }; NegTokenInit init = new NegTokenInit(mechs, flags, mechToken, mic); byte[] bytes = init.toByteArray(); NegTokenInit parsed = new NegTokenInit(bytes);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertEquals("00010203", Hexdump.toHexString(data1, 0, 8)); // 8 chars = 4 bytes // Test with negative byte values byte[] data2 = { (byte) 0xFF, (byte) 0xFE, (byte) 0x80, 0x7F }; assertEquals("FF", Hexdump.toHexString(data2, 0, 2)); // 2 chars = 1 byte assertEquals("FFF", Hexdump.toHexString(data2, 0, 3)); // 3 chars = 1.5 bytes (rounds up to 2)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
throw new SmbException("Invalid SMB1 header size: " + structureSize); } } // Check SMB2/3 signature else if (protocolId == 0x424D53FE) { // 0xFE 'S' 'M' 'B' // SMB2/3 if (structureSize != 64) { failedValidations.incrementAndGet(); throw new SmbException("Invalid SMB2 header size: " + structureSize);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.6K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
String name = "TESTFLAGS "; System.arraycopy(name.getBytes("US-ASCII"), 0, src, srcIndex + 1, 16); src[srcIndex + 16] = 0x00; // hex code src[srcIndex + 17] = (byte) 0xFE; // All flags except one: 11111110 // Bit 7: group (1) // Bits 6-5: owner node type (11 = 3) // Bit 4: being deleted (1) // Bit 3: in conflict (1) // Bit 2: active (1)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
int headerStart = 0; int bodyStart = Smb2Constants.SMB2_HEADER_LENGTH; // Write SMB2 header (64 bytes) // Protocol ID System.arraycopy(new byte[] { (byte) 0xFE, 'S', 'M', 'B' }, 0, buffer, headerStart, 4); // Structure size (64) SMBUtil.writeInt2(64, buffer, headerStart + 4); // Credit charge SMBUtil.writeInt2(1, buffer, headerStart + 6);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.1K bytes - Click Count (0) -
internal/event/config_test.go
{string([]byte{0xff, 0xfe, 0xfd}), true}, {`foo\bar`, true}, {"Hello/世界", false}, } for i, testCase := range testCases { err := ValidateFilterRuleValue(testCase.value) expectErr := (err != nil)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 28.9K bytes - Click Count (0)