Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 60 for 016 (0.01 seconds)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

                    this.server.oemDomainName = new String();
                }
            } else {
                this.server.guid = new byte[16];
                System.arraycopy(buffer, bufferIndex, this.server.guid, 0, 16);
                bufferIndex += this.server.guid.length;
                this.server.oemDomainName = new String();
    
                if (this.byteCount > 16) {
                    // have initial spnego token
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            assertEquals("DLse", new String(nameBytes));
    
            // Verify lease key (first 16 bytes of data)
            byte[] leaseKeyBytes = new byte[16];
            System.arraycopy(buffer, 24, leaseKeyBytes, 0, 16);
            assertArrayEquals(key.getKey(), leaseKeyBytes);
    
            // Verify lease state
            assertEquals(leaseState, SMBUtil.readInt4(buffer, 40));
    
            // Verify directory-specific data
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

            int dataOffset = offset + 24;
    
            // Decode standard lease data
            byte[] keyBytes = new byte[16];
            System.arraycopy(buffer, dataOffset, keyBytes, 0, 16);
            this.leaseKey = new Smb2LeaseKey(keyBytes);
            dataOffset += 16;
    
            this.leaseState = SMBUtil.readInt4(buffer, dataOffset);
            dataOffset += 4;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            SMBUtil.writeInt4(2, buffer, 4);
            SMBUtil.writeInt4(3, buffer, 8);
            SMBUtil.writeInt4(4, buffer, 12);
    
            // Decode
            int bytesDecoded = response.decode(buffer, 0, 16);
    
            // Verify
            assertEquals(1, response.getNamedPipeState());
            assertEquals(2, response.getReadDataAvailable());
            assertEquals(3, response.getNumberOfMessages());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

                    return InetAddress.getByAddress(addr);
                } else if (family == 23) { // AF_INET6
                    byte[] addr = new byte[16];
                    System.arraycopy(data, offset + 8, addr, 0, 16);
                    return InetAddress.getByAddress(addr);
                }
            } catch (Exception e) {
                // Ignore parsing errors
            }
            return null;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            byte[] buffer = new byte[byteCountValue];
            byte[] guid = new byte[16];
            for (int i = 0; i < 16; i++) {
                guid[i] = (byte) i;
            }
            System.arraycopy(guid, 0, buffer, 0, 16);
            byte[] token = new byte[10];
            for (int i = 0; i < 10; i++) {
                token[i] = (byte) (i + 16);
            }
            System.arraycopy(token, 0, buffer, 16, 10);
    
    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)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            assertTrue((caps & Smb2Constants.SMB2_GLOBAL_CAP_DFS) != 0);
    
            // Verify client GUID
            byte[] guid = new byte[16];
            System.arraycopy(buffer, 12, guid, 0, 16);
            assertArrayEquals(testMachineId, guid);
    
            // Verify dialects
            assertEquals(0x0210, SMBUtil.readInt2(buffer, 36));
            assertEquals(0x0300, SMBUtil.readInt2(buffer, 38));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  8. go.mod

    	github.com/mattn/go-ieproxy v0.0.12 // indirect
    	github.com/mattn/go-isatty v0.0.20 // indirect
    	github.com/mattn/go-localereader v0.0.1 // indirect
    	github.com/mattn/go-runewidth v0.0.16 // indirect
    	github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
    	github.com/minio/colorjson v1.0.8 // indirect
    	github.com/minio/crc64nvme v1.0.1 // indirect
    	github.com/minio/filepath v1.0.0 // indirect
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

            public TestCreateContextRequest(byte[] name, byte[] data) {
                this.name = name;
                this.data = data;
                this.encodedSize = (name != null ? name.length : 0) + (data != null ? data.length : 0) + 16;
            }
    
            @Override
            public byte[] getName() {
                return name;
            }
    
            @Override
            public int encode(byte[] dst, int dstIndex) {
                encodeCallCount++;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  10. internal/etag/etag.go

    	if !etag.IsEncrypted() {
    		return etag, nil
    	}
    	mac := hmac.New(sha256.New, key)
    	mac.Write([]byte(HMACContext))
    	decryptionKey := mac.Sum(nil)
    
    	plaintext := make([]byte, 0, 16)
    	etag, err := sio.DecryptBuffer(plaintext, etag, sio.Config{
    		Key: decryptionKey,
    	})
    	if err != nil {
    		return nil, err
    	}
    	return etag, nil
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 13.2K bytes
    - Click Count (0)
Back to Top