- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 961 for dsbyte (0.04 seconds)
-
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
* @param chlng * The server challenge. * @return A <code>byte[]</code> containing the effective user session key, * used in SMB MAC signing and NTLMSSP signing and sealing. */ public byte[] getUserSessionKey(CIFSContext tc, byte[] chlng) { byte[] key = new byte[16]; try { getUserSessionKey(tc, chlng, key, 0); } catch (Exception ex) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30.3K bytes - Click Count (0) -
src/archive/zip/zip_test.go
last := &r.buf[len(r.buf)-1] return last.off + last.n } func (r *rleBuffer) Write(p []byte) (n int, err error) { var rp *repeatedByte if len(r.buf) > 0 { rp = &r.buf[len(r.buf)-1] // Fast path, if p is entirely the same byte repeated. if lastByte := rp.b; len(p) > 0 && p[0] == lastByte { if bytes.Count(p, []byte{lastByte}) == len(p) { rp.n += int64(len(p)) return len(p), nil } } }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu May 23 01:00:11 GMT 2024 - 19.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
* @throws GeneralSecurityException * if the signing algorithm cannot be initialized * */ public Smb2SigningDigest(final byte[] sessionKey, final int dialect, final byte[] preauthIntegrityHash) throws GeneralSecurityException { switch (dialect) { case Smb2Constants.SMB2_DIALECT_0202: case Smb2Constants.SMB2_DIALECT_0210:Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponse.java
super(config); } @Override protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeParametersWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
} @Test @DisplayName("Test decode method with valid buffer") void testDecodeWithValidBuffer() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[256]; int bufferIndex = 0; int expectedLength = 100; when(messageBlock.decode(buffer, bufferIndex)).thenReturn(expectedLength); // WhenCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/MD4.java
// save number of bits, casting the long to an array of 8 bytes // save low-order byte first. for (int i = 0; i < 8; i++) { tail[padLen + i] = (byte) (count * 8 >>> 8 * i); } engineUpdate(tail, 0, tail.length); final byte[] result = new byte[16]; // cast this MD4's context (array of 4 ints) into an array of 16 bytes.Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.6K bytes - Click Count (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
* @param mechanismListMIC the MIC over the mechanism list */ public NegTokenInit(final ASN1ObjectIdentifier[] mechanisms, final int contextFlags, final byte[] mechanismToken, final byte[] mechanismListMIC) { setMechanisms(mechanisms); setContextFlags(contextFlags); setMechanismToken(mechanismToken); setMechanismListMIC(mechanismListMIC); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
cmd/storage-rest-server.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 45.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java
this.server = server; } @Override int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) { final int start = bufferIndex;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
// Manually set parameters that would be read by readParametersWireFormat response.numEntries = 2; byte[] params = { 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00 }; response.readParametersWireFormat(params, 0, params.length); // Data block: 2 entries byte[] data = new byte[100]; // Entry 1: SHARE1, type 0 (Disk), remark "Remark 1"Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0)