- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 344 for SHORT (0.01 sec)
-
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcQueryInformationPolicy.java
* @param level the information level to query * @param info the object to store the query results */ public MsrpcQueryInformationPolicy(final LsaPolicyHandle policyHandle, final short level, final NdrObject info) { super(policyHandle, level, info); ptype = 0; flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcLookupSids.java
super(policyHandle, new LsarSidArrayX(sids), new jcifs.dcerpc.msrpc.lsarpc.LsarRefDomainList(), new jcifs.dcerpc.msrpc.lsarpc.LsarTransNameArray(), (short) 1, sids.length); this.ptype = 0; this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
void testReadStringWithMaxLength() { smb.useUnicode = false; byte[] buffer = new byte[6]; System.arraycopy("short".getBytes(), 0, buffer, 0, 5); buffer[5] = 0; // Null terminator String result = smb.readString(buffer, 0, 5, false); assertEquals("short", result); } @Test void testReadStringWithMaxLengthExceeded() { smb.useUnicode = false;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLookupSids.java
*/ public MsrpcLookupSids(final LsaPolicyHandle policyHandle, final SID[] sids) { super(policyHandle, new LsarSidArrayX(sids), new lsarpc.LsarRefDomainList(), new lsarpc.LsarTransNameArray(), (short) 1, sids.length); this.sids = sids; ptype = 0; flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/DefaultsTest.java
assertEquals('\0', Defaults.defaultValue(char.class).charValue()); assertEquals(0, Defaults.defaultValue(byte.class).byteValue()); assertEquals(0, Defaults.defaultValue(short.class).shortValue()); assertEquals(0, Defaults.defaultValue(int.class).intValue()); assertEquals(0, Defaults.defaultValue(long.class).longValue()); assertEquals(0.0f, Defaults.defaultValue(float.class).floatValue());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/DefaultsTest.java
assertEquals('\0', Defaults.defaultValue(char.class).charValue()); assertEquals(0, Defaults.defaultValue(byte.class).byteValue()); assertEquals(0, Defaults.defaultValue(short.class).shortValue()); assertEquals(0, Defaults.defaultValue(int.class).intValue()); assertEquals(0, Defaults.defaultValue(long.class).longValue()); assertEquals(0.0f, Defaults.defaultValue(float.class).floatValue());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java
* It should correctly call the super constructor and set ptype and flags. */ @Test @DisplayName("Constructor should initialize fields and call super constructor") void constructorTest() { short level = 1; // Create an instance of the class under test MsrpcQueryInformationPolicy policy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
@DisplayName("Never calculates MIC when integrity unsupported") void testNoMicCalculationWhenIntegrityUnsupported() throws Exception { // Only stub supportsIntegrity - isEstablished won't be called due to short-circuit when(mockCtx.supportsIntegrity()).thenReturn(false); // A small consumer that only uses MIC if advertised as available byte[] data = new byte[] { 1, 2 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
} } /** * Test constant-time comparison with various password lengths. */ @Test public void testConstantTimeWithDifferentLengths() throws Exception { char[] password1 = "short".toCharArray(); char[] password2 = "verylongpasswordthatisdifferent".toCharArray(); NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("domain", "user", new String(password1));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
} } @Test @DisplayName("Test decode throws exception when length is too short") void testDecodeThrowsExceptionWhenLengthTooShort() { byte[] buffer = new byte[28]; // Test with len = 23 (one byte too short) SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.decode(buffer, 0, 23),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0)