- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 218 for ONE (1.92 sec)
-
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
NtlmPasswordAuthenticator cloned = new NtlmPasswordAuthenticator(); cloneInternal(cloned, this); return cloned; } /** * Clone internal fields from one authenticator to another. * * @param cloned the target authenticator to copy to * @param toClone the source authenticator to copy from */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
String name = "TESTFLAGS "; System.arraycopy(name.getBytes("US-ASCII"), 0, src, srcIndex + 1, 16); src[srcIndex + 16] = 0x00; // hex code src[srcIndex + 17] = (byte) 0xFE; // All flags except one: 11111110 // Bit 7: group (1) // Bits 6-5: owner node type (11 = 3) // Bit 4: being deleted (1) // Bit 3: in conflict (1) // Bit 2: active (1) // Bit 1: permanent (1)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
when(config.isIpcSigningEnforced()).thenReturn(true); when(creds.isAnonymous()).thenReturn(true); assertFalse(ipc.shouldForceSigning()); // Verify interactions sequence for one call InOrder inOrder = inOrder(config, creds); ipc = locator("smb://server/IPC$/"); ipc.shouldForceSigning(); inOrder.verify(config, atLeastOnce()).isIpcSigningEnforced();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
* efficiency) might use a different initial bufferIndex. For example, * to eliminate copying data when writing NbtSession data one might * manage that 4 byte header specifically and therefore the initial * bufferIndex, and thus headerStart, would be 4).(NOTE: If one where * looking for a way to improve perfomance this is precisly what you * would want to do as the jcifs.netbios.SocketXxxputStream classesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
assertTrue(urlFilter.match("https://any.com/any/path")); urlFilter.clear(); urlFilter.init(sessionId); urlFilter.addInclude(".+"); // Match at least one character assertTrue(urlFilter.match("https://example.com/")); assertFalse(urlFilter.match("")); } /** * Test memory efficiency with large number of patterns */
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
assertEquals(24, SMBUtil.readInt2(buffer, 0)); } @Test @DisplayName("Test buffer overflow protection") void testBufferOverflowProtection() { byte[] smallBuffer = new byte[23]; // One byte too small // Should throw ArrayIndexOutOfBoundsException assertThrows(ArrayIndexOutOfBoundsException.class, () -> { request.writeBytesWireFormat(smallBuffer, 0); }); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
* @throws SmbException */ synchronized SmbFileHandleImpl ensureOpen() throws CIFSException { // ensure file is open if (this.handle == null || !this.handle.isValid()) { // one extra acquire to keep this open till the stream is released this.handle = this.file.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, this.options).acquire();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
assertEquals(0x0001, decodedHeader.getFlags()); assertEquals(testSessionId, decodedHeader.getSessionId()); } // Duplicate testFlags method removed - keeping the first one @ParameterizedTest @ValueSource(ints = { 0, 1, 64, 1024, 4096, 65536 }) @DisplayName("Should handle various message sizes") void testVariousMessageSizes(int messageSize) { // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
void testHexdump() { // Capture output ByteArrayOutputStream baos = new ByteArrayOutputStream(); PrintStream ps = new PrintStream(baos); // Test with 16 bytes (one complete line) byte[] data1 = createTestData(16); Hexdump.hexdump(ps, data1, 0, 16); String output1 = baos.toString(); assertNotNull(output1);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
import jcifs.smb.SmbException; import jcifs.smb.SmbFile; import jcifs.smb.SmbFileInputStream; /** * This servlet may be used to "browse" the entire hierarchy of resources * on an SMB network like one might with Network Neighborhood or Windows * Explorer. The users credentials with be negotiated using NTLM SSP if * the client is Microsoft Internet Explorer. * * @deprecated Unsupported */ @Deprecated /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0)