- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 961 for dsbyte (0.04 seconds)
-
cmd/bitrot.go
func NewBitrotVerifier(algorithm BitrotAlgorithm, checksum []byte) *BitrotVerifier { return &BitrotVerifier{algorithm, checksum} } // BitrotVerifier can be used to verify protected data. type BitrotVerifier struct { algorithm BitrotAlgorithm sum []byte } // BitrotAlgorithmFromString returns a bitrot algorithm from the given string representation.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.7K bytes - Click Count (0) -
src/main/java/jcifs/netbios/Name.java
} int writeWireFormat(final byte[] dst, final int dstIndex) { // write 0x20 in first byte dst[dstIndex] = 0x20; final byte tmp[] = Strings.getOEMBytes(this.name, this.config); int i; for (i = 0; i < tmp.length; i++) { dst[dstIndex + 2 * i + 1] = (byte) (((tmp[i] & 0xF0) >> 4) + 0x41); dst[dstIndex + 2 * i + 2] = (byte) ((tmp[i] & 0x0F) + 0x41); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/rpc.java
* The high field of the clock sequence multiplexed with the variant. */ public byte clock_seq_hi_and_reserved; /** * The low field of the clock sequence. */ public byte clock_seq_low; /** * The spatially unique node identifier (6 bytes). */ public byte[] node; @Override public void encode(NdrBuffer _dst) throws NdrException {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.2K bytes - Click Count (0) -
cmd/bucket-lifecycle-handlers_test.go
testCases := []struct { method string bucketName string accessKey string secretKey string // Sent body body []byte // Expected response expectedRespStatus int lifecycleResponse []byte errorResponse APIErrorResponse shouldPass bool }{ // GET empty credentials { method: http.MethodGet, bucketName: bucketName,Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jun 10 15:50:49 GMT 2024 - 11.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashing.java
} if (buckets <= BYTE_MAX_SIZE) { return new byte[buckets]; } else if (buckets <= SHORT_MAX_SIZE) { return new short[buckets]; } else { return new int[buckets]; } } static void tableClear(Object table) { if (table instanceof byte[]) { Arrays.fill((byte[]) table, (byte) 0); } else if (table instanceof short[]) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
// This is a simplified test and does not use real encrypted data from Kerberos // It mainly tests the decryption logic path Key key = new KerberosKey(null, new byte[16], KerberosConstants.RC4_ENC_TYPE, 0); byte[] data = new byte[32]; // Dummy data // The test will likely fail with "Checksum failed" as the data is not properly encrypted // but it proves the decryption path is taken.Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
setField(cmd, "fid", 1); setField(cmd, "typeOfLock", (byte) type); setField(cmd, "newOpLockLevel", (byte) 0); setField(cmd, "timeout", 0L); setField(cmd, "locks", new LockingAndXRange[0]); setField(cmd, "unlocks", new LockingAndXRange[0]); setField(cmd, "largeFile", false); byte[] buf = new byte[12]; // Buffer needs to be at least 12 bytes for the parameter words
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
ASN1ObjectIdentifier mech = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"); byte[] tokenArray = new byte[] { 1, 2, 3 }; byte[] mic = new byte[] { 9, 9, 9 }; NegTokenTarg original = new NegTokenTarg(NegTokenTarg.ACCEPT_COMPLETED, mech, tokenArray, mic); // Act – serialise and parse back byte[] bytes = original.toByteArray(); NegTokenTarg roundTrip = new NegTokenTarg(bytes);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
context.initSecContext(new byte[0], 0, 0); // Create a mock Type 2 message (server challenge) byte[] serverChallenge = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; int type2Flags = NtlmFlags.NTLMSSP_NEGOTIATE_NTLM | NtlmFlags.NTLMSSP_REQUEST_TARGET; Type2Message type2Message = new Type2Message(type2Flags, serverChallenge, domain); byte[] type2Token = type2Message.toByteArray();
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
cmd/metrics-v2_gen.go
return } // MarshalMsg implements msgp.Marshaler func (z MetricName) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendString(o, string(z)) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *MetricName) UnmarshalMsg(bts []byte) (o []byte, err error) { { var zb0001 string zb0001, bts, err = msgp.ReadStringBytes(bts) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19K bytes - Click Count (0)