Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 154 for simili (0.03 sec)

  1. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

            verify(handle).getSession();
        }
    
        @Test
        @DisplayName("Scenario: verify interaction order across multiple calls")
        void verifyInteractionOrder() throws Exception {
            // Arrange: stub simple returns
            when(handle.hasCapability(anyInt())).thenReturn(true);
    
            // Act: perform a series of calls to verify order
            handle.ensureDFSResolved();
            handle.hasCapability(7);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            protected int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
                // Simple implementation for testing
                return 0;
            }
    
            @Override
            protected int writeBytesWireFormat(byte[] dst, int dstIndex) {
                // Simple implementation for testing
                return 0;
            }
        }
    
        @BeforeEach
        void setUp() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

            when(mockNegotiate.getNegotiatedMpxCount()).thenReturn(65535);
            when(mockNegotiate.getNegotiatedSessionKey()).thenReturn(0x12345678);
        }
    
        /** Simple test stub of {@link ServerData} */
        private static class ServerDataStub extends ServerData {
            public ServerDataStub() {
                this.security = SmbConstants.SECURITY_USER;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. CLAUDE.md

    3. Add comprehensive tests
    4. Run `mvn formatter:format license:format test`
    5. Update JavaDoc for changed/new classes
    
    **Principles:**
    - Avoid over-engineering - keep solutions simple
    - Only expose necessary public APIs
    - Validate parameters with `Objects.requireNonNull()`
    - Provide detailed error messages with context
    - Add logging with contextual information
    
    ### Resource Files
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

        }
    
        @Test
        @DisplayName("Methods should handle null buffer without validation")
        void testMethodsWithNullBuffer() {
            // The implementation doesn't validate null buffers
            // These methods simply return 0 without accessing the buffer
    
            // Write methods return 0 without accessing null buffer
            assertEquals(0, response.writeSetupWireFormat(null, 0));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

                    } else {
                        sb.append(ch);
                    }
                }
                return sb.toString();
            }
            return s;
        }
    
        /**
         * Returns the simple name of the dictionary file.
         *
         * @return The file name without the path.
         */
        public String getSimpleName() {
            return new File(path).getName();
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java

         * comment: The common return path of all mail
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
        String getMailReturnPath();
    
        /**
         * The simple implementation for configuration.
         * @author FreeGen
         */
        public static class SimpleImpl extends ObjectiveConfig implements FessEnv {
    
            /** The serial version UID for object serialization. (Default) */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/Kerb5Context.java

         */
        @Override
        public byte[] getSigningKey() throws SmbException {
            /*
             * The kerberos session key is not accessible via the JGSS API. IBM and
             * Oracle both implement a similar API to make an ExtendedGSSContext
             * available. That API is accessed via reflection to make this independent
             * of the runtime JRE
             */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
  9. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            if (exists) {
                queryBuf.append(')');
            }
        }
    
        /**
         * Builds the base query string from search parameters.
         * Handles both condition-based queries and simple text queries, including related query expansion.
         *
         * @return the base query string
         */
        protected String buildBaseQuery() {
            final StringBuilder queryBuf = new StringBuilder(255);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            int trailerLength = 10; // Default trailer length for testing
            int trailerBytesRead = 0;
    
            @Override
            int writeTrailerWireFormat(byte[] dst, int dstIndex) {
                // Simple mock implementation
                for (int i = 0; i < trailerLength && dstIndex + i < dst.length; i++) {
                    dst[dstIndex + i] = (byte) i;
                }
                return trailerLength;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
Back to top