Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1581 - 1590 of 2,310 for Contains (0.1 seconds)

  1. src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java

                assertTrue("Exception message should mention unregistered class: " + message,
                        message != null && (message.contains("not registered") || message.contains("Class is not registered")
                                || message.contains("unregistered")));
            }
        }
    
        /**
         * Security test: Custom class should be rejected.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            smb.command = ServerMessageBlock.SMB_COM_ECHO;
            smb.errorCode = 0;
            smb.mid = 1;
            String str = smb.toString();
            assertTrue(str.contains("command=SMB_COM_ECHO"));
            assertTrue(str.contains("errorCode=0"));
            assertTrue(str.contains("mid=1"));
        }
    
        @Test
        void testToStringUnknownCommand() {
            smb.command = (byte) 0xFF; // Unknown command
            smb.errorCode = 0;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

         */
        protected boolean isTrustedProxy(final String ip) {
            final Set<String> trustedProxies = ComponentUtil.getFessConfig().getRateLimitTrustedProxiesAsSet();
            final boolean trusted = trustedProxies.contains(ip);
            if (logger.isDebugEnabled() && trusted) {
                logger.debug("Trusted proxy detected: ip={}", ip);
            }
            return trusted;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            SimpleCircuitBreaker.Statistics stats = circuitBreaker.getStatistics();
            String str = stats.toString();
    
            assertNotNull(str);
            assertTrue(str.contains("test"));
            assertTrue(str.contains("CLOSED"));
            assertTrue(str.contains("100.00%"));
        }
    
        @Test
        @DisplayName("Test mixed success and failure pattern")
        void testMixedPattern() throws Exception {
            // Success
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

        /* (non-Javadoc)
         * @see org.apache.maven.profiles.ProfileManager#explicitlyActivate(java.lang.String)
         */
        @Override
        public void explicitlyActivate(String profileId) {
            if (!activatedIds.contains(profileId)) {
                logger.debug("Profile with id: '" + profileId + "' has been explicitly activated.");
    
                activatedIds.add(profileId);
            }
        }
    
        /* (non-Javadoc)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/io/TestInputStream.java

        throwIf(closed);
        return options.contains(TestOption.AVAILABLE_ALWAYS_ZERO) ? 0 : in.available();
      }
    
      @Override
      public void close() throws IOException {
        closed = true;
        throwIf(CLOSE_THROWS);
        in.close();
      }
    
      private void throwIf(TestOption option) throws IOException {
        throwIf(options.contains(option));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/math/Quantiles.java

     * between {@link Double#NEGATIVE_INFINITY NEGATIVE_INFINITY} and {@link Double#POSITIVE_INFINITY
     * POSITIVE_INFINITY}, {@link Double#NaN NaN} is returned (note that this will only happen if the
     * dataset contains no finite values).
     *
     * <h3>Performance</h3>
     *
     * <p>The average time complexity of the computation is O(N) in the size of the dataset. There is a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 30.1K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       * count, and a blank line.
       *
       * Each of the subsequent lines in the file is a record of the state of a cache entry. Each line
       * contains space-separated values: a state, a key, and optional state-specific values.
       *
       *   o DIRTY lines track that an entry is actively being created or updated. Every successful
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  9. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/InternalYamlRestTestPluginFuncTest.groovy

            file("/build/classes/java/yamlRestTest/MockIT.class").exists()
    
            // check that our copied specs and tests are on the yamlRestTest classpath
            result.output.contains("./build/restResources/yamlSpecs")
            result.output.contains("./build/restResources/yamlTests")
    
            when:
            result = gradleRunner("yamlRestTest").build()
    
            then:
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 10:22:28 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            System.clearProperty("lasta.env");
            final List<String> ptList = pathMappingHelper.getProcessTypeList();
            assertEquals(2, ptList.size());
            assertTrue(ptList.contains(Constants.PROCESS_TYPE_DISPLAYING));
            assertTrue(ptList.contains(Constants.PROCESS_TYPE_BOTH));
        }
    
        @Test
        public void test_getProcessTypeList_nonCrawlerMode() {
            System.setProperty("lasta.env", "other");
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.3K bytes
    - Click Count (0)
Back to Top