Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 248 for functional (0.09 sec)

  1. src/main/java/org/codelibs/fess/util/BooleanFunction.java

     */
    package org.codelibs.fess.util;
    
    /**
     * Functional interface for boolean functions.
     * Represents a function that accepts one argument and produces a boolean result.
     * @param <T> the type of the input to the function
     */
    @FunctionalInterface
    public interface BooleanFunction<T> {
        /**
         * Applies this function to the given argument.
         * @param t the function argument
         * @return the function result
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/NameServiceClient.java

         * are used to distinguish the various services on a host. <a
         * href="../../../nbtcodes.html">Here</a> is
         * a fairly complete list of NetBIOS hex codes. Scope is not used but is
         * still functional in other NetBIOS products and so for completeness it has been
         * implemented. A <code>scope</code> of <code>null</code> or <code>""</code>
         * signifies no scope.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/config/SecurityConfigurationTest.java

            // Verify encryption configuration is available (default is false for compatibility)
            // But can be enabled when needed
            assertTrue("Encryption configuration should be functional", true); // Always passes - encryption is available as an option
        }
    
        /**
         * Test that signing is properly configured
         */
        @Test
        public void testSigningConfiguration() throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Supplier.java

     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/FunctionalExplained">the use of functional types</a>.
     *
     * <h3>For Java 8+ users</h3>
     *
     * <p>This interface is now a legacy type. Use {@code java.util.function.Supplier} (or the
     * appropriate primitive specialization such as {@code IntSupplier}) instead whenever possible.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jun 19 17:20:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

         *
         * @param index the name of the index to scroll through
         * @param callback the function to apply to each search hit, returning true to continue or false to stop
         * @return the number of documents processed
         */
        public static long scroll(final String index, final Function<SearchHit, Boolean> callback) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/LongMath.java

       *
       * <p>This differs from {@code Long.bitCount(x) == 1}, because {@code
       * Long.bitCount(Long.MIN_VALUE) == 1}, but {@link Long#MIN_VALUE} is not a power of two.
       */
      // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
      @SuppressWarnings("ShortCircuitBoolean")
      public static boolean isPowerOfTwo(long x) {
        return x > 0 & (x & (x - 1)) == 0;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

                // The rate limiter should still be functional after concurrent access
                assertTrue(concurrentLimiter.checkAttempt("finaluser", "192.168.3.1"),
                        "Rate limiter should still be functional after concurrent operations");
    
                // Verify that the rate limiter tracked some activity
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SmbNegotiationRequestTest.java

        }
    
        @Test
        @DisplayName("Test lambda implementation (if applicable)")
        void testLambdaImplementation() {
            // Given - Using a functional interface pattern
            SmbNegotiationRequest lambdaRequest = () -> true;
    
            // When
            boolean result = lambdaRequest.isSigningEnforced();
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/query/QueryCommand.java

                return defaultField;
            }
            return field;
        }
    
        /**
         * Functional interface for building query builders with field and boost parameters.
         */
        protected interface DefaultQueryBuilderFunction {
            /**
             * Applies the function to create a query builder for the specified field and boost.
             * @param field The field name.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

                throw (IOException) lastError;
            } else {
                throw new IOException("RDMA operation failed after " + (retryCount + 1) + " attempts", lastError);
            }
        }
    
        /**
         * Functional interface for RDMA operations that can be retried
         *
         * @param <T> the type of result returned by the operation
         */
        @FunctionalInterface
        public interface RdmaOperation<T> {
            /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top