- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 1,386 for Byte (0.01 sec)
-
src/main/java/org/codelibs/core/convert/ByteConversionUtil.java
if (pattern != null) { return Byte.valueOf(new SimpleDateFormat(pattern).format(o)); } return (byte) ((java.util.Date) o).getTime(); } else if (o instanceof Boolean) { return ((Boolean) o) ? (byte) 1 : (byte) 0; } else { return toByte(o.toString()); } } private static Byte toByte(final String s) { if (StringUtil.isEmpty(s)) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransaction.java
static final byte TRANS2_FIND_FIRST2 = (byte) 0x01; static final byte TRANS2_FIND_NEXT2 = (byte) 0x02; static final byte TRANS2_QUERY_FS_INFORMATION = (byte) 0x03; static final byte TRANS2_QUERY_PATH_INFORMATION = (byte) 0x05; static final byte TRANS2_GET_DFS_REFERRAL = (byte) 0x10; static final byte TRANS2_SET_FILE_INFORMATION = (byte) 0x08; static final int NET_SHARE_ENUM = 0x0000;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
private final byte[] salt; private final int hashAlgorithm; private volatile byte[] currentHash; private volatile boolean isValid; private final Object hashLock = new Object(); public PreauthIntegrityContext(byte[] salt, int hashAlgorithm) { this.salt = salt != null ? salt.clone() : new byte[0]; this.hashAlgorithm = hashAlgorithm;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComRename.java
if (this.isUseUnicode()) { dst[dstIndex++] = (byte) '\0'; } dstIndex += writeString(this.newFileName, dst, dstIndex); return dstIndex - start; } @Override protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java
byte[] dst = new byte[10]; // The method should not write anything and return 0 assertEquals(0, response.writeDataWireFormat(dst, 0), "writeDataWireFormat should return 0."); } /** * Test for the readSetupWireFormat method. * It should always return 0. */ @Test void testReadSetupWireFormat() { byte[] buffer = new byte[10];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
Arguments.of(0xFFFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }), Arguments.of(0x7FFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0x7F })); } @ParameterizedTest @MethodSource("int32Provider") @DisplayName("readParameterWordsWireFormat correctly decodes 32-bit offset") void testReadParameterWords(int expectedInt, byte[] bytes) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
byte[] encoded = encodeUnicode(msg); assertEquals(4, encoded.length, "Encoded Unicode string should be 4 bytes"); // Verify little-endian encoding assertEquals((byte) 0xA1, encoded[0], "First byte of first character"); assertEquals((byte) 0x00, encoded[1], "Second byte of first character"); assertEquals((byte) 0xA2, encoded[2], "First byte of second character");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
cmd/metacache-entries_test.go
VersionID: [16]byte{2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, ModTime: baseTime.Add(60 * time.Minute).UnixNano(), Signature: [4]byte{2, 1, 1, 1}, Type: ObjectType, Flags: 0, }}, {header: xlMetaV2VersionHeader{ VersionID: [16]byte{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, ModTime: baseTime.Add(30 * time.Minute).UnixNano(), Signature: [4]byte{1, 1, 1, 1},
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 31.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java
} @Override int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeParametersWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0)