Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 334 for lambda (0.07 sec)

  1. android/guava/src/com/google/common/base/Predicate.java

     * appropriate primitive specialization such as {@code IntPredicate}) instead whenever possible.
     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
     * <p>To use a reference of this type (say, named {@code guavaPredicate}) in a context where {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 15:22:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. tests/test_ws_router.py

            assert websocket.receive_text() == "Socket Dependency"
    
    
    def test_router_ws_depends_with_override():
        client = TestClient(app)
        app.dependency_overrides[ws_dependency] = lambda: "Override"  # noqa: E731
        with client.websocket_connect("/router-ws-depends/") as websocket:
            assert websocket.receive_text() == "Override"
    
    
    def test_router_with_params():
        client = TestClient(app)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Jun 11 19:08:14 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. cmd/server-startup-msg.go

    }
    
    func printLambdaTargets() {
    	if globalLambdaTargetList == nil || globalLambdaTargetList.Empty() {
    		return
    	}
    
    	arnMsg := color.Blue("Object Lambda ARNs: ")
    	for _, arn := range globalLambdaTargetList.List(globalSite.Region()) {
    		arnMsg += color.Bold(fmt.Sprintf("%s ", arn))
    	}
    	logger.Startup(arnMsg + "\n")
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

          }
    
          if (scheduleAndDecide(task, delayNanos, recurrence = false)) {
            taskRunner.kickCoordinator(this)
          }
        }
      }
    
      /**
       * Overload of [schedule] that uses a lambda for a repeating task.
       *
       * TODO: make this inline once this is fixed: https://github.com/oracle/graal/issues/3466
       */
      fun schedule(
        name: String,
        delayNanos: Long = 0L,
        block: () -> Long,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Optional.java

       * instead.
       *
       * <p>Unfortunately, the method reference {@code Optional::toJavaUtil} will not work, because it
       * could refer to either the static or instance version of this method. Write out the lambda
       * expression {@code o -> Optional.toJavaUtil(o)} instead.
       *
       * @since 33.4.0 (but since 21.0 in the JRE flavor)
       */
      @SuppressWarnings({
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    s3-deprecated.cn-north-1.amazonaws.com.cn
    s3-object-lambda.cn-north-1.amazonaws.com.cn
    s3-website.cn-north-1.amazonaws.com.cn
    s3.dualstack.cn-northwest-1.amazonaws.com.cn
    s3-accesspoint.dualstack.cn-northwest-1.amazonaws.com.cn
    s3.cn-northwest-1.amazonaws.com.cn
    s3-accesspoint.cn-northwest-1.amazonaws.com.cn
    s3-object-lambda.cn-northwest-1.amazonaws.com.cn
    s3-website.cn-northwest-1.amazonaws.com.cn
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 309.7K bytes
    - Viewed (1)
  9. guava-testlib/src/com/google/common/testing/GcFinalization.java

       *   <li>clearing weak references to unreachable referents
       *   <li>enqueuing weak references to unreachable referents in their reference queue
       * </ul>
       */
      @DoNotMock("Implement with a lambda")
      public interface FinalizationPredicate {
        boolean isDone();
      }
    
      /**
       * Waits until the given weak reference is cleared, invoking the garbage collector as necessary to
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Converter.java

     *       create a "fake" converter for a unit test. It is unnecessary (and confusing) to <i>mock</i>
     *       the {@code Converter} type using a mocking framework.
     *   <li>Pass two lambda expressions or method references to the {@link #from from} factory method.
     *   <li>Extend this class and implement its {@link #doForward} and {@link #doBackward} methods.
     * </ul>
     *
     * <p>Using a converter:
     *
     * <ul>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
Back to top