Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 396 for only (2.15 sec)

  1. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                    plaintext = cipher.doFinal(input);
                } else {
                    // Use AES-CCM with Bouncy Castle
                    // For CCM, we need to extract only the first 12 bytes of the nonce
                    final byte[] ccmNonce = new byte[12];
                    System.arraycopy(nonce, 0, ccmNonce, 0, 12);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            Integer nid = null;
            int max = this.transportContext.getConfig().getWinsServers().length;
    
            if (max == 0) {
                max = 1; /* No WINs, try only bcast addr */
            }
    
            synchronized (response) {
                while (max-- > 0) {
                    try {
                        synchronized (this.LOCK) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

        }
    
        /**
         * Gets or creates the SPNEGO authenticator instance.
         *
         * This method implements lazy initialization with synchronization to ensure
         * the authenticator is only created once. It configures the authenticator
         * with the appropriate SPNEGO settings and marks initialization as complete.
         *
         * @return The configured SPNEGO authenticator instance
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.8K bytes
    - Viewed (3)
  4. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                assertEquals(buffer.size(), bytesEncoded);
                assertEquals(4 + 2 * path.length(), bytesEncoded);
            }
    
            @Test
            @DisplayName("Should handle path with only backslashes")
            void testPathWithOnlyBackslashes() {
                String path = "\\\\\\\\\\\\";
                buffer = new DfsReferralRequestBuffer(path, 2);
    
                byte[] dst = new byte[buffer.size()];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            boolean port139Failover = delegatingConfig.isPort139FailoverEnabled();
            boolean dfsStrictView = delegatingConfig.isDfsStrictView();
    
            // Then
            assertTrue(smb2Only, "Should delegate SMB2 only negotiation");
            assertFalse(secureNegotiate, "Should delegate secure negotiate requirement");
            assertTrue(ntlmTargetName, "Should delegate NTLM target name setting");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

                buffer[i] = (byte) (i % 256);
            }
    
            int offset = 50;
            trans2QueryFSInfo.writeParametersWireFormat(buffer, offset);
    
            // Check that only the 2 bytes at offset were modified
            for (int i = 0; i < offset; i++) {
                assertEquals((byte) (i % 256), buffer[i], "Buffer before offset should be unchanged");
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            // Should report 26 bytes written (20 from encode + 6 increment)
            assertEquals(26, written);
    
            // Check that padding bytes are zeros
            // The implementation writes 8 bytes with writeInt8 but only increments by 6
            // This means bytes 20-27 will be zero (8 bytes written by writeInt8)
            for (int i = 20; i < 28; i++) {
                assertEquals(0, buffer[i], "Padding byte at position " + i + " should be 0");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/ComponentUtil.java

                return SingletonLaContainer.getComponent(SYSTEM_HELPER) != null;
            } catch (final Exception e) {
                // ignore
            }
            return false;
        }
    
        /**
         * For test purpose only.
         *
         * @param fessConfig fessConfig instance
         */
        public static void setFessConfig(final FessConfig fessConfig) {
            ComponentUtil.fessConfig = fessConfig;
            if (fessConfig == null) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            // Both leading and trailing
            testTransformer.setName("  bothSpaces  ");
            assertEquals("  bothSpaces  ", testTransformer.getName());
    
            // Only whitespace
            testTransformer.setName("   ");
            assertEquals("   ", testTransformer.getName());
    
            // Tab characters
            testTransformer.setName("\tname\twith\ttabs\t");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbSession.java

                            response = new SmbComSessionSetupAndXResponse(andxResponse);
    
                            /* Create SMB signature digest if necessary
                             * Only the first SMB_COM_SESSION_SETUP_ANX with non-null or
                             * blank password initializes signing.
                             */
                            if (transport.isSignatureSetupRequired(auth)) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
Back to top