Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for lambda1 (0.6 sec)

  1. cmd/object-lambda-handlers_test.go

    		t: t,
    		objAPITest: func(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler, credentials auth.Credentials, t *testing.T) {
    			objectName := "dummy-object"
    			functionID := "lambda1"
    			functionToken := "token123"
    
    			// Lambda mock server
    			lambdaServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    				w.Header().Set(xhttp.AmzRequestRoute, functionID)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 18 21:56:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. cmd/object-lambda-handlers.go

    		Description:    desc,
    		Code:           code,
    	}
    }
    
    // GetObjectLambdaHandler - GET Object with transformed data via lambda functions
    // ----------
    // This implementation of the GET operation applies lambda functions and returns the
    // response generated via the lambda functions. To use this API, you must have READ access
    // to the object.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 18 21:56:31 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

      /**
       * Starts specifying how to combine two {@link ClosingFuture}s into a single pipeline, assuming
       * they all succeed. If any fail, the resulting pipeline will fail.
       *
       * <p>Calling this method allows you to use lambdas or method references typed with the types of
       * the input {@link ClosingFuture}s.
       *
       * @throws IllegalStateException if a {@code ClosingFuture} has already been derived from any of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java

         * This method looks up the user by their code and creates a new favorite log entry
         * using the provided lambda function to populate the favorite log data.
         *
         * @param userCode the unique code identifying the user
         * @param favoriteLogLambda a lambda function that accepts UserInfo and FavoriteLog to populate the favorite log data
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. 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)
Back to top