Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 219 for nerede (1.77 sec)

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

        private SmbSessionImpl newSession() {
            return new SmbSessionImpl(cifsContext, "server.example", "EXAMPLE", transport);
        }
    
        @BeforeEach
        void setup() {
            // Base context configuration - always needed
            when(cifsContext.getConfig()).thenReturn(configuration);
    
            // Context and credentials wiring - used by most tests
            when(cifsContext.getCredentials()).thenReturn(credentials);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            ns.encode(buf);
    
            // Find where the actual data starts (after alignment)
            int alignmentBytes = 0;
            if (startIndex % 2 != 0) {
                alignmentBytes = 1; // Need 1 byte of padding for 2-byte alignment
            }
    
            // The value 0xCD should be encoded as a 16-bit value (0x00CD) in little-endian
            byte[] bufferData = buf.getBuffer();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImplTest.java

            // Verify
            assertFalse(result);
        }
    
        public void test_saveSession() {
            // Execute - should be a no-op
            service.saveSession("session123");
    
            // No verification needed as it's a no-op method
        }
    
        public void test_generateUrlQueues() {
            // Setup
            String previousSessionId = "prevSession";
            String sessionId = "newSession";
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                this.process = process;
                this.timeout = timeout;
            }
    
            /**
             * Runs the monitor thread, sleeping for the timeout duration and terminating the process if needed.
             */
            @Override
            public void run() {
                ThreadUtil.sleepQuietly(timeout);
    
                if (!finished) {
                    try {
                        process.destroy();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                        while (timeout > 0) {
                            response.wait(timeout);
    
                            /* JetDirect printer can respond to regular broadcast query
                             * with node status so we need to check to make sure that
                             * the record type matches the question type and if not,
                             * loop around and try again.
                             */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            // Since we can't mock the internal transport operations easily without real network,
            // we'll test the simpler case where no NTLM negotiation is needed
            when(request.getHeader("Authorization")).thenReturn(null);
    
            filter.doFilter(request, response, filterChain);
    
            // Should challenge the client
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            byte[] invalidProtocolId = { 'I', 'N', 'V', 'D' };
    
            // When/Then
            // Protocol ID validation not applicable for transform header - method does not exist
            // No validation needed as transform header handles protocol ID internally
        }
    
        @Test
        @DisplayName("Should handle null protocol ID")
        void testNullProtocolId() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/UUIDTest.java

                String uuidWithExtra = VALID_UUID_STRING + "EXTRA";
    
                // Act
                UUID uuid = new UUID(uuidWithExtra);
    
                // Assert - The implementation only reads what it needs
                assertEquals(TIME_LOW, uuid.time_low);
                assertEquals(TIME_MID, uuid.time_mid);
                assertEquals(TIME_HI_AND_VERSION, uuid.time_hi_and_version);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

            final int size = 0;
    
            final int securityMode = getRequestSecurityMode(first);
    
            // further negotiation needed
            final Smb2NegotiateRequest smb2neg = new Smb2NegotiateRequest(getContext().getConfig(), securityMode);
            Smb2NegotiateResponse r = null;
            byte[] negoReqBuffer = null;
            byte[] negoRespBuffer = null;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                    fos = new FileOutputStream(newFile);
                    writer = new BufferedWriter(new OutputStreamWriter(fos, Constants.UTF_8));
                    fos = null; // Successfully wrapped, no need to close explicitly
                } catch (final Exception e) {
                    if (fos != null) {
                        try {
                            fos.close();
                        } catch (final IOException ioe) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top