Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 265 for samme (0.01 sec)

  1. src/test/java/jcifs/AddressTest.java

            when(mockAddress.unwrap(Address.class)).thenReturn(mockAddress);
    
            // When & Then
            Address unwrapped = mockAddress.unwrap(Address.class);
            assertSame(mockAddress, unwrapped, "Should return same instance for supported type");
        }
    
        @Test
        @DisplayName("getHostName should return valid hostname or address")
        void testGetHostNameContract() {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. CLAUDE.md

    mvn test                       # Run tests
    mvn formatter:format           # Format code
    mvn license:format             # Update license headers
    ```
    
    ### Code Style
    
    - 4 spaces (no tabs)
    - Opening brace on same line
    - Max line length: 120
    - JavaDoc required for public APIs
    - License headers required
    
    ### Testing
    
    **Structure**: `src/test/java/org/codelibs/fess/crawler/`
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 28 17:31:34 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            int referent1 = Encdec.dec_uint32le(buffer, 0);
            assertTrue(referent1 > 0); // Should be a positive referent ID
    
            ndrBuffer.reset();
            ndrBuffer.enc_ndr_referent(obj1, 2); // Same object, should get same referent
            assertEquals(4, ndrBuffer.getIndex());
            assertEquals(referent1, Encdec.dec_uint32le(buffer, 0));
    
            ndrBuffer.reset();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            assertNotNull(handle, "Handle must not be null");
            assertSame(pipe, handle.getPipe(), "Handle should reference originating pipe");
            assertSame(handle, handle.unwrap(SmbPipeHandle.class), "unwrap should return same instance for interface type");
        }
    
        @ParameterizedTest
        @DisplayName("getPipeType echoes constructor input (edge values)")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/RC4.java

                s[i] = s[j];
                s[j] = t;
            }
    
            i = j = 0;
        }
    
        /**
         * Encrypts or decrypts data using the RC4 stream cipher.
         * Since RC4 is a stream cipher, the same operation is used for both encryption and decryption.
         *
         * @param src the source data array
         * @param soff the offset in the source array
         * @param slen the length of data to process
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

    /**
     * File System Control Code (FSCC) structure for File Rename Information.
     * Used in SMB2/SMB3 set file information operations to rename files or directories,
     * with support for specifying whether to replace existing files with the same name.
     *
     * @author mbechler
     */
    public class FileRenameInformation2 implements FileInformation {
    
        private boolean replaceIfExists;
        private String fileName;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. dbflute_fess/playsql/_readme.txt

    (A SQL separator is semicolon ";")
    
    take-finally-*.sql:
    SQL statements for check loaded data (or DDL after data loading)
    You should write your own SQL statements in this file.
    (basically same specifications as replace-schema.sql)
    
    The "data" directory is for data loading like this:
    /- - - - - - - - - - - - - - - - - - - -
    playsql
      |-data
         |-common
         |  |-xls
         |     |-10-master.xls
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Jul 04 22:46:31 UTC 2015
    - 1.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                long timeDiffLength = measureEqualsTime(auth1, auth2, TIMING_ITERATIONS);
    
                // Create same length passwords for comparison
                char[] password3 = "short".toCharArray();
                char[] password4 = "shore".toCharArray(); // Same length, different content
    
                NtlmPasswordAuthenticator auth3 = new NtlmPasswordAuthenticator("domain", "user", new String(password3));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

    import org.junit.jupiter.params.provider.MethodSource;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Tests for {@link SmbComClose}.
     * <p>
     * All tests are written in the same package as the class under test so
     * that package-private fields and constants can be accessed directly.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbComCloseTest {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/HandlerTest.java

        void testHandlerEquality() throws Exception {
            // Create two URLs with the same handler
            URL url1 = new URL(null, "smb://host1/share1", handler);
            URL url2 = new URL(null, "smb://host2/share2", handler);
    
            // Both should use the same handler instance
            assertNotNull(url1);
            assertNotNull(url2);
    
            // Protocol should be consistent
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top