Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2171 - 2180 of 4,299 for avoid (0.05 sec)

  1. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

        }
    
        @BeforeEach
        void setUp() {
            message = new TestNtlmMessage();
        }
    
        @Test
        void testGetAndSetFlags() {
            // Test setting and getting flags
            int testFlags = 0x12345678;
            message.setFlags(testFlags);
            assertEquals(testFlags, message.getFlags(), "Flags should be set and retrieved correctly.");
        }
    
        @Test
        void testGetFlag() {
    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. impl/maven-core/src/main/java/org/apache/maven/logging/ProjectBuildLogAppender.java

                MDC.remove(KEY_PROJECT_ID);
            }
        }
    
        public static void setForkingProjectId(String forkingProjectId) {
            if (forkingProjectId != null) {
                FORKING_PROJECT_ID.set(forkingProjectId);
            } else {
                FORKING_PROJECT_ID.remove();
            }
        }
    
        public static void updateMdc() {
            String id = getProjectId();
            if (id != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/sql/StatementUtil.java

         *
         * @param statement
         *            {@link Statement}. Must not be {@literal null}.
         * @param fetchSize
         *            Fetch size.
         * @see Statement#setFetchSize(int)
         */
        public static void setFetchSize(final Statement statement, final int fetchSize) {
            assertArgumentNotNull("statement", statement);
    
            try {
                statement.setFetchSize(fetchSize);
            } catch (final SQLException ex) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java

            @Override
            int readDataWireFormat(byte[] buffer, int bufferIndex, int len) {
                return 0;
            }
        }
    
        @BeforeEach
        void setUp() {
            response = new TestableSmbComNtTransactionResponse();
        }
    
        @Test
        void testReadParameterWordsWireFormat_bufDataStartIsZero() {
            // Test case when bufDataStart is initially 0.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExceptionTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     * MNG-3131
     *
     *
     */
    class PluginParameterExceptionTest {
    
        private static final String LS = System.lineSeparator();
    
        @Test
        void testMissingRequiredStringArrayTypeParameter() {
            MojoDescriptor mojoDescriptor = new MojoDescriptor();
            mojoDescriptor.setGoal("goal");
            PluginDescriptor pluginDescriptor = new PluginDescriptor();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

        private static final int ENCRYPTION_TYPE = 23; // aes128-cts-hmac-sha1-96
        private static final byte[] ENCRYPTED_DATA = "encrypted-data".getBytes();
    
        @BeforeEach
        void setUp() {
            keys = new KerberosKey[] { kerberosKey };
        }
    
        /**
         * Creates a byte array representing a Kerberos ticket for testing purposes.
         * @param version Kerberos version
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

         *
         * @throws IOException if an I/O error occurs
         * @throws PACDecodingException if a PAC decoding error occurs
         * @throws UnknownHostException if the IP address is not found
         */
        @Test
        void testConstructor() throws IOException, PACDecodingException, UnknownHostException {
            // Build a sample Kerberos EncData structure
            ASN1EncodableVector vector = new ASN1EncodableVector();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingRequest.java

        }
    
        @Override
        public void setInactiveProfileIds(List<String> inactiveProfileIds) {
            if (inactiveProfileIds != null) {
                this.inactiveProfileIds = new ArrayList<>(inactiveProfileIds);
            } else {
                this.inactiveProfileIds.clear();
            }
        }
    
        @Override
        public void setProfiles(List<Profile> profiles) {
            if (profiles != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

        /**
         * Deletes all bad words from the suggest index.
         */
        protected void deleteAllBadWords() {
            suggester.settings().badword().deleteAll();
        }
    
        /**
         * Stores all bad words in the suggest index.
         *
         * @param apply true to apply the changes immediately.
         */
        public void storeAllBadWords(final boolean apply) {
            deleteAllBadWords();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/HashMultimapTest.java

       */
      public void testCreate() {
        HashMultimap<String, Integer> multimap = HashMultimap.create();
        multimap.put("foo", 1);
        multimap.put("bar", 2);
        multimap.put("foo", 3);
        assertEquals(ImmutableSet.of(1, 3), multimap.get("foo"));
        assertEquals(2, multimap.expectedValuesPerKey);
      }
    
      public void testCreateFromMultimap() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top