Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 964 for setI (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

        @DisplayName("Should read valid single notification from wire format")
        void testReadSingleNotification() throws Exception {
            // Given
            byte[] buffer = new byte[512];
            int offset = 0;
    
            // Set header start position for the response
            setHeaderStart(response, 64);
    
            // Write structure header (9 bytes)
            SMBUtil.writeInt2(9, buffer, offset); // Structure size
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

        static Stream<String> messages() {
            return Stream.of("custom message", "", " ", "αβγ", "x".repeat(1000), null);
        }
    
        @Test
        @DisplayName("Default constructor sets the expected message and no cause")
        void defaultConstructor_setsExpectedMessage_andNoCause() {
            // Arrange & Act
            SmbUnsupportedOperationException ex = new SmbUnsupportedOperationException();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

            dummyRus.maximum_length = 14;
            UnicodeString manualUnicodeString = new UnicodeString(dummyRus, false);
            assertEquals("Testing", manualUnicodeString.toString(), "toString should work with manually set buffer and length (no zterm)");
    
            // Test toString with a manually constructed UnicodeString with zterm
            rpc.unicode_string dummyRusZterm = new rpc.unicode_string();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Set;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.web.base.FessSearchAction;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java

        @BeforeEach
        public void setUp() {
            smbComDelete = new SmbComDelete(TEST_FILE_NAME);
        }
    
        @Test
        public void testConstructor() {
            // Test if the constructor sets the file name and command correctly
            assertEquals(TEST_FILE_NAME, smbComDelete.path);
            assertEquals(ServerMessageBlock.SMB_COM_DELETE, smbComDelete.command);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/DialectVersion.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    import java.util.EnumSet;
    import java.util.Set;
    
    import jcifs.internal.smb2.Smb2Constants;
    
    /**
     * Enumeration of SMB protocol dialect versions supported by JCIFS.
     * This includes legacy SMB1/CIFS as well as modern SMB2/SMB3 dialects.
     *
     * @author mbechler
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            byte[] buffer = new byte[totalSize + 100]; // Extra space for safety
            int bufferIndex = 0;
            int start = 0;
    
            // Set converter value first
            setConverter(response, 0);
    
            // Set number of entries
            setNumEntries(response, 1);
    
            // Write share name (13 bytes, null padded)
            byte[] nameBytes = shareName.getBytes(StandardCharsets.US_ASCII);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

        void testDecodeWithMaximumValues() throws SMBProtocolDecodingException {
            // Prepare test data with maximum values
            byte[] buffer = createValidBuffer("maxfile.txt", "MAXFIL~1.TXT", true);
    
            // Set maximum values
            SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, 0); // nextEntryOffset
            SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, 4); // fileIndex
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NbtAddressTest.java

            assertNotNull(nbtAddress);
            assertEquals("FULLHOST", nbtAddress.getHostName());
            assertArrayEquals(new byte[] { (byte) 192, (byte) 168, (byte) 1, (byte) 1 }, nbtAddress.getAddress());
            // Test the values set by constructor directly when isDataFromNodeStatus is true
            assertTrue(nbtAddress.isGroupAddress(mockContext));
            assertEquals(NbtAddress.B_NODE, nbtAddress.getNodeType(mockContext));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbSessionImpl.java

                            log.debug("sessionSetup: " + this.credentials);
                        }
    
                        /*
                         * We explicitly set uid to 0 here to prevent a new
                         * SMB_COM_SESSION_SETUP_ANDX from having it's uid set to an
                         * old value when the session is re-established. Otherwise a
                         * "The parameter is incorrect" error can occur.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
Back to top