- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 335 for muss (0.07 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
ServerMessageBlock.writeUTime(sampleTimeMillis, buffer, 2); // File Size: 1024 bytes ServerMessageBlock.writeInt4(1024, buffer, 6); response.wordCount = 10; // Must be non-zero to read int bytesRead = response.readParameterWordsWireFormat(buffer, 0); // Should read 20 bytes as per implementation assertEquals(20, bytesRead);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java
class SmbComLogoffAndXTest { @Test @DisplayName("constructor accepts null andx") void constructorWithNullAndx() { SmbComLogoffAndX msg = new SmbComLogoffAndX(null); assertNotNull(msg, "Message must not be null after construction"); } @ParameterizedTest @ValueSource(ints = { 0, 1, 5, -1, 10 }) @DisplayName("writeParameterWordsWireFormat always returns 0")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
try { new CurlRequest(null, url); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException e) { assertTrue(e.getMessage().contains("method must not be null")); } } @Test public void testSingleArgumentConstructor() { CurlRequest request = new CurlRequest(Method.POST); assertEquals(Method.POST, request.method());Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
Subject copySubj = copy.getSubject(); assertNotNull(copySubj); assertSame(cachedOrig, copySubj, "Clone should share the cached Subject reference"); // Refreshing the original must not clear the clone's cached subject orig.refresh(); // Clone should retain its cached Subject assertSame(copySubj, copy.getSubject(), "Clone should retain its cached Subject");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
* securityBufferOffset is set relative to header start. */ private void buildSessionSetupBody(byte[] buf, int headerStart, int bodyStart, int sessionFlags, int secBufOffset, byte[] blob) { // StructureSize (must be 9) SMBUtil.writeInt2(9, buf, bodyStart); // SessionFlags at +2 SMBUtil.writeInt2(sessionFlags, buf, bodyStart + 2); // SecurityBufferOffset (+4) and Length (+6)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java
throw new FessSystemException("Invalid hour value: " + values[0] + " in time: " + time + ". Hour must be between 0 and 23"); } values[1] = Integer.parseInt(froms[1]); if (values[1] < 0 || values[1] > 59) { throw new FessSystemException("Invalid minute value: " + values[1] + " in time: " + time + ". Minute must be between 0 and 59"); } return values; } /**
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sun Nov 23 12:34:02 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
response.readBytesWireFormat(buffer, 0); }); assertTrue(exception.getMessage().contains("Invalid negotiate context count: 1000")); assertTrue(exception.getMessage().contains("must be 0-100")); } /** * Test validation of negative negotiate context count. */ @Test public void testNegativeNegotiateContextCount() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmAuthenticator.java
synchronized (a) { a.url = url; a.sae = sae; return a.getNtlmPasswordAuthentication(); } } /** * An application extending this class must provide an implementation for this method that returns new user * credentials try try when accessing SMB resources described by the <code>getRequestingURL</code> and * <code>getRequestingException</code> methods.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java
int expected = ((base + 7) / 8) * 8; // expected 8-byte alignment // Act int actual = req.size(); // Assert assertEquals(expected, actual, "size() must be 8-byte aligned"); } @ParameterizedTest @ValueSource(ints = { 0, 1, 5 }) @DisplayName("writeBytesWireFormat writes StructureSize=4 and Reserved=0 at given offset")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
this.key = new byte[16]; random.nextBytes(this.key); } public Smb2LeaseKey(byte[] key) { if (key.length != 16) { throw new IllegalArgumentException("Lease key must be 16 bytes"); } this.key = Arrays.copyOf(key, 16); } public byte[] getKey() { return Arrays.copyOf(key, 16); } @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0)