- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 277 for setBytes (0.04 sec)
-
src/main/java/jcifs/pac/PacMac.java
*/ private PacMac() { // Utility class } /** * */ private static final String HMAC_KEY = "HMAC"; private static final byte[] MD5_CONSTANT = "signaturekey\0".getBytes(StandardCharsets.US_ASCII); private static final byte[] ZERO_IV = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; /** * Calculates a MAC using the ARCFOUR-HMAC-MD5 algorithm.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
// no password in tree connect dst[dstIndex++] = (byte) 0x00; } dstIndex += writeString(this.path, dst, dstIndex); try { System.arraycopy(this.service.getBytes("ASCII"), 0, dst, dstIndex, this.service.length()); } catch (final UnsupportedEncodingException uee) { return 0; } dstIndex += this.service.length();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTester.java
TestSuite suite = new TestSuite(name); for (Entry<String, String> entry : TEST_STRINGS.entrySet()) { if (testAsByteSource) { suite.addTest( suiteForBytes(factory, entry.getValue().getBytes(UTF_8), name, entry.getKey(), true)); } else { suite.addTest(suiteForString(factory, entry.getValue(), name, entry.getKey())); } } return suite; } static TestSuite suiteForBytes(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java
if (this.fileName == null) { SMBUtil.writeInt2(0, dst, fnOffsetOffset); SMBUtil.writeInt2(0, dst, fnLengthOffset); } else { final byte[] fnBytes = this.fileName.getBytes(StandardCharsets.UTF_16LE); SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, fnOffsetOffset); SMBUtil.writeInt2(fnBytes.length, dst, fnLengthOffset);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
} public void testToByteArray() throws IOException { URL resource = getClass().getResource("testdata/i18n.txt"); assertThat(Resources.toByteArray(resource)).isEqualTo(I18N.getBytes(UTF_8)); } public void testReadLines() throws IOException { // TODO(chrisn): Check in a better resource URL resource = getClass().getResource("testdata/i18n.txt");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 6.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
random.nextBytes(bytes); String s = new String(bytes, UTF_16LE); // so all random strings are valid assertEquals( new Sink(4).putUnencodedChars(s).hash(), new Sink(4).putBytes(s.getBytes(UTF_16LE)).hash()); assertEquals( new Sink(4).putUnencodedChars(s).hash(), new Sink(4).putString(s, UTF_16LE).hash()); } } public void testFloat() { Sink sink = new Sink(4);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
private Configuration mockConfig; private TransCallNamedPipe transCallNamedPipe; private static final String TEST_PIPE_NAME = "\\\\PIPE\\\\testpipe"; private static final byte[] TEST_DATA = "Test pipe data".getBytes(); @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Test constructor initializes fields correctly") void testConstructorInitialization() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
super.setUp(); final File propFile = File.createTempFile("project", ".properties"); propFile.deleteOnExit(); FileUtil.writeBytes(propFile.getAbsolutePath(), "fess.version=98.76.5".getBytes()); final File desginJspRootFile = File.createTempFile("jsp", ""); desginJspRootFile.delete(); desginJspRootFile.deleteOnExit(); systemHelper = new SystemHelper() { @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 28.9K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureKeyManager.java
// This is a placeholder - real implementation should use proper KDF byte[] derived = new byte[length]; // Combine inputs byte[] labelBytes = label.getBytes(java.nio.charset.StandardCharsets.UTF_8); byte[] input = new byte[baseKey.length + labelBytes.length + (context != null ? context.length : 0)]; int pos = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0)