- Sort Score
- Num 10 results
- Language All
Results 591 - 600 of 993 for dsbyte (0.71 seconds)
-
src/main/java/jcifs/internal/smb1/com/ServerData.java
* Length of the encryption key. */ public int encryptionKeyLength; /** * Encryption key for password encryption. */ public byte[] encryptionKey; /** * Server's globally unique identifier. */ public byte[] guid;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java
/** * Create SMB Direct Negotiate Request */ public SmbDirectNegotiateRequest() { } /** * Encode to byte array * * @return encoded message */ public byte[] encode() { byte[] data = new byte[32]; int idx = 0; SMBUtil.writeInt2(minVersion, data, idx); idx += 2; SMBUtil.writeInt2(maxVersion, data, idx);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 5.4K bytes - Click Count (0) -
cmd/jwt_test.go
b.Fatal(err) } b.ResetTimer() b.ReportAllocs() b.RunParallel(func(pb *testing.PB) { for pb.Next() { err = xjwt.ParseWithClaims(token, xjwt.NewMapClaims(), func(*xjwt.MapClaims) ([]byte, error) { return []byte(creds.SecretKey), nil }) if err != nil { b.Fatal(err) } } }) } func BenchmarkAuthenticateNode(b *testing.B) { ctx, cancel := context.WithCancel(b.Context())
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.4K bytes - Click Count (0) -
src/test/java/jcifs/util/InputValidatorTest.java
} @Test @DisplayName("Test array bounds validation") void testArrayBounds() { byte[] src = new byte[100]; byte[] dst = new byte[100]; assertDoesNotThrow(() -> InputValidator.validateArrayBounds(src, 0, dst, 0, 100)); assertDoesNotThrow(() -> InputValidator.validateArrayBounds(src, 50, dst, 50, 50));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
// Input parameters for WitnessAsyncNotify private byte[] contextHandle; // Output parameters for WitnessAsyncNotify private List<WitnessNotificationResponse> notifications; /** * Creates a new WitnessAsyncNotify RPC message. */ public WitnessAsyncNotifyMessage() { super(WITNESS_ASYNC_NOTIFY); this.contextHandle = new byte[20]; this.notifications = new ArrayList<>(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 16.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
import jcifs.spnego.NegTokenInit; @ExtendWith(MockitoExtension.class) class Kerb5AuthenticatorTest { @Mock CIFSContext tc; @Mock Configuration config; private static byte[] spnegoInitWithMechs(ASN1ObjectIdentifier... mechs) { // Build a minimal SPNEGO NegTokenInit containing the provided mechanisms NegTokenInit tok = new NegTokenInit(mechs, 0, null, null);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
@DisplayName("getSessionKey returns bytes, empty, then null") void getSessionKey_variants() throws CIFSException { byte[] key = new byte[] { 10, 20 }; when(session.getSessionKey()).thenReturn(key, new byte[0], null); assertArrayEquals(key, session.getSessionKey()); assertArrayEquals(new byte[0], session.getSessionKey()); assertNull(session.getSessionKey()); verify(session, times(3)).getSessionKey();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
cmd/erasure-encode.go
func (e *Erasure) Encode(ctx context.Context, src io.Reader, writers []io.Writer, buf []byte, quorum int) (total int64, err error) { writer := &multiWriter{ writers: writers, writeQuorum: quorum, errs: make([]error, len(writers)), } for { var blocks [][]byte n, err := io.ReadFull(src, buf) if err != nil { if !IsErrIgnored(err, []error{ io.EOF,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 15 00:11:04 GMT 2024 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SID.java
} } } /** * Converts an RPC sid_t structure to a byte array. * * @param sid the RPC sid_t structure to convert * @return byte array representation of the SID */ public static byte[] toByteArray(final rpc.sid_t sid) { final byte[] dst = new byte[1 + 1 + 6 + sid.sub_authority_count * 4]; int di = 0; dst[di] = sid.revision;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.5K bytes - Click Count (0)