Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 717 for lang_th (0.58 sec)

  1. guava/src/com/google/common/math/LongMath.java

            return 1;
          case 1:
            return n;
          default:
            if (n < factorials.length) {
              return factorials[n] / (factorials[k] * factorials[n - k]);
            } else if (k >= biggestBinomials.length || n > biggestBinomials[k]) {
              return Long.MAX_VALUE;
            } else if (k < biggestSimpleBinomials.length && n <= biggestSimpleBinomials[k]) {
              // guaranteed not to overflow
              long result = n--;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java

            // The provider's toString might not contain the exact class name
            // Just verify it's not null and contains some meaningful info
            assertTrue("toString should not be empty", toString.length() > 0);
        }
    
        public void test_hook_withNullAssistantDirector() {
            // When & Then - Should not throw exception
            try {
                curtainBeforeHook.hook(null);
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

            // Test that stack trace is properly captured
            ThemeException exception = new ThemeException("Stack trace test");
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify that this test method appears in the stack trace
            boolean foundTestMethod = false;
            for (StackTraceElement element : exception.getStackTrace()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

            Metadata metadata = null;
    
            File metadataFile = new File(
                    localRepository.getBasedir(), localRepository.pathOfLocalRepositoryMetadata(this, remoteRepository));
    
            if (metadataFile.length() == 0) {
                if (!metadataFile.delete()) {
                    // sleep for 10ms just in case this is windows holding a file lock
                    try {
                        Thread.sleep(10);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

            });
            return failureUrl;
        }
    
        /**
         * Extracts and returns the stack trace from a throwable as a string.
         * The stack trace is abbreviated if it exceeds the configured maximum length.
         *
         * @param t the throwable to extract the stack trace from
         * @return the stack trace as a string, or empty string if extraction fails
         */
        private String getStackTrace(final Throwable t) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java

            String[] excludes = { "long_exclude_" + "c".repeat(50) };
    
            String result = popularWordHelper.getCacheKey(seed, tags, roles, fields, excludes);
    
            assertNotNull(result);
            assertTrue(result.length() > 100);
            assertTrue(result.contains(seed));
        }
    
        public void test_getCacheKey_manyItems() {
            String seed = "test_seed";
            String[] tags = new String[20];
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. src/test/java/jcifs/config/PropertyConfigurationTest.java

            // Then
            // getWinsServers() returns InetAddress[], not String
            InetAddress[] winsServers = testConfig.getWinsServers();
            assertNotNull(winsServers);
            assertEquals(1, winsServers.length);
            assertEquals("192.168.1.1", winsServers[0].getHostAddress());
    
            // getBroadcastAddress() returns InetAddress, not String
            InetAddress broadcastAddr = testConfig.getBroadcastAddress();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Suppliers.java

       * exception.
       *
       * <p>When the underlying delegate throws an exception then this memoizing supplier will keep
       * delegating calls until it returns valid data.
       *
       * @param duration the length of time after a value is created that it should stop being returned
       *     by subsequent {@code get()} calls
       * @param unit the unit that {@code duration} is expressed in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          }
        }
      }
    
      private static Object[] arbitraryParameters(Method method) {
        Class<?>[] parameterTypes = method.getParameterTypes();
        Object[] params = new Object[parameterTypes.length];
        for (int i = 0; i < parameterTypes.length; i++) {
          params[i] = PARAMETER_VALUES.get(parameterTypes[i]);
        }
        return params;
      }
    
      private static final ImmutableSet<String> NOT_WORKING_ON_MOCKS =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          }
        }
      }
    
      private static Object[] arbitraryParameters(Method method) {
        Class<?>[] parameterTypes = method.getParameterTypes();
        Object[] params = new Object[parameterTypes.length];
        for (int i = 0; i < parameterTypes.length; i++) {
          params[i] = PARAMETER_VALUES.get(parameterTypes[i]);
        }
        return params;
      }
    
      private static final ImmutableSet<String> NOT_WORKING_ON_MOCKS =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
Back to top