Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 58 for lambda1 (0.08 sec)

  1. 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)
  2. 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)
  3. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 309.7K bytes
    - Viewed (1)
  6. cmd/api-errors.go

    	},
    	ErrLambdaARNInvalid: {
    		Code:           "LambdaARNInvalid",
    		Description:    "The specified lambda ARN is invalid",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrLambdaARNNotFound: {
    		Code:           "LambdaARNNotFound",
    		Description:    "The specified lambda ARN does not exist",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrPolicyAlreadyAttached: {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 93K bytes
    - Viewed (1)
  7. guava/src/com/google/common/cache/CacheLoader.java

      }
    
      /**
       * Returns a cache loader that uses {@code function} to load keys, without supporting either
       * reloading or bulk loading. This allows creating a cache loader using a lambda expression.
       *
       * <p>The returned object is serializable if {@code function} is serializable.
       *
       * @param function the function to be used for loading values; must never return {@code null}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. android/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 Sep 05 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
Back to top