Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for lambda1 (0.04 sec)

  1. docs/lambda/README.md

    ## Example Lambda handler
    
    Install the necessary dependencies.
    ```sh
    pip install flask requests
    ```
    
    Following is an example lambda handler.
    ```py
    from flask import Flask, request, abort, make_response
    import requests
    
    app = Flask(__name__)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. 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
            assertTrue(result, "Lambda implementation should return true");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Predicates.java

     */
    @GwtCompatible
    public final class Predicates {
    
      /**
       * Returns a predicate that always evaluates to {@code true}.
       *
       * <p><b>Discouraged:</b> Prefer using {@code x -> true}, but note that lambdas do not have
       * human-readable {@link #toString()} representations and are not serializable.
       */
      public static <T extends @Nullable Object> Predicate<T> alwaysTrue() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mockito;
    
    /**
     * Tests for {@link SmbFilenameFilter}. Since the interface only defines
     * a single method, the tests simply ensure that the lambda expression
     * correctly implements the method and that any exception is propagated.
     */
    class SmbFilenameFilterTest {
    
        @Test
        void acceptReturnsTrueWhenNameMatches() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. cmd/config-current.go

    		configLogIf(ctx, fmt.Errorf("Unable to initialize notification target(s): %w", err))
    	}
    
    	bootstrapTraceMsg("initialize the lambda targets")
    	globalLambdaTargetList, err = lambda.FetchEnabledTargets(GlobalContext, s, transport)
    	if err != nil {
    		configLogIf(ctx, fmt.Errorf("Unable to initialize lambda target(s): %w", err))
    	}
    
    	bootstrapTraceMsg("applying the dynamic configuration")
    	// Apply dynamic config values
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Functions.java

        }
    
        @Override
        public String toString() {
          return "Functions.toStringFunction()";
        }
      }
    
      /**
       * Returns the identity function.
       *
       * <p><b>Discouraged:</b> Prefer using a lambda like {@code v -> v}, which is shorter and often
       * more readable.
       */
      // implementation is "fully variant"; E has become a "pass-through" type
      @SuppressWarnings("unchecked")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  7. docs/en/data/external_links.yml

    atabase-with-faunadb-and-fastapi-23dbb275bc5b title: Build an SMS Spam Classifier Serverless Database with FaunaDB and FastAPI - author: Raf Rasenberg author_link: https://rafrasenberg.com/about/ link: https://rafrasenberg.com/fastapi-lambda/ title: 'FastAPI lambda container: serverless simplified' - author: Teresa N. Fontanella De Santis author_link: https://dev.to/ link: https://dev.to/teresafds/authorization-on-fastapi-with-casbin-41og title: Authorization on FastAPI with Casbin - author: New...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 23K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java

        /**
         * Converts validation messages to a localized string representation for API responses.
         * Uses the request locale if available, otherwise defaults to English.
         *
         * @param validationMessagesLambda lambda function that adds validation messages
         * @return concatenated string of localized validation messages separated by spaces
         */
        protected String getMessage(final VaMessenger<FessMessages> validationMessagesLambda) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            assertTrue(npe2.getMessage().contains("non-null"));
            verifyNoInteractions(mockDir);
        }
    
        /**
         * Sanity: implementing via an anonymous class works the same as a lambda.
         */
        @Test
        @DisplayName("anonymous class implementation behaves correctly")
        void anonymousClassImplementation() throws Exception {
            SmbFilenameFilter filter = new SmbFilenameFilter() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

                }
            };
    
            assertFalse(flag.get());
            listener.onShutdown();
            assertTrue(flag.get());
        }
    
        public void test_shutdownListener_lambda() {
            // Test lambda implementation of ShutdownListener
            final AtomicBoolean flag = new AtomicBoolean(false);
            ShutdownListener listener = () -> flag.set(true);
    
            assertFalse(flag.get());
            listener.onShutdown();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top