Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 717 for unapply (0.19 sec)

  1. src/main/java/org/codelibs/fess/auth/chain/LdapChain.java

            return !changed || ComponentUtil.getFessConfig().isLdapAdminSyncPassword();
        }
    
        @Override
        public User load(final User user) {
            ComponentUtil.getLdapManager().apply(user);
            return user;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt

            if (request.header("Accept") == null) {
              request.newBuilder().addHeader("Accept", "text/event-stream").build()
            } else {
              request
            }
    
          RealEventSource(actualRequest, listener).apply {
            connect(callFactory)
          }
        }
      }
    
      @JvmStatic
      fun processResponse(
        response: Response,
        listener: EventSourceListener,
      ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:18:15 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ForwardingDequeTest.java

      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                Deque.class,
                new Function<Deque, Deque<?>>() {
                  @Override
                  public Deque<?> apply(Deque delegate) {
                    return wrap((Deque<?>) delegate);
                  }
                });
      }
    
      private static <T> Deque<T> wrap(final Deque<T> delegate) {
        return new ForwardingDeque<T>() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

      private var call: Call? = null
    
      @Volatile private var canceled = false
    
      fun connect(callFactory: Call.Factory) {
        call =
          callFactory.newCall(request).apply {
            enqueue(this@RealEventSource)
          }
      }
    
      override fun onResponse(
        call: Call,
        response: Response,
      ) {
        processResponse(response)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/platform/android/AndroidSocketAdapterTest.kt

        platform.assumeConscrypt()
      }
    
      val context: SSLContext by lazy {
        val provider: Provider = Conscrypt.newProviderBuilder().provideTrustManager(true).build()
    
        SSLContext.getInstance("TLS", provider).apply {
          init(null, null, null)
        }
      }
    
      @ParameterizedTest
      @MethodSource("data")
      fun testMatchesSupportedSocket(adapter: SocketAdapter) {
        val socketFactory = context.socketFactory
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java

      }
    
      @Override
      protected String getSuccessfulResult() {
        return RESULT_DATA;
      }
    
      private class ComposeFunction implements Function<Integer, String> {
        @Override
        public String apply(Integer input) {
          if (input.intValue() == VALID_INPUT_DATA) {
            return RESULT_DATA;
          } else {
            throw WRAPPED_EXCEPTION;
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 28 16:27:15 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AsyncFunction.java

       * asynchronous derivations.
       *
       * <p>Throwing an exception from this method is equivalent to returning a failing {@code Future}.
       */
      ListenableFuture<O> apply(@ParametricNullness I input) throws Exception;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 10:45:35 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelTransformer.java

    import org.apache.maven.api.model.Model;
    
    /**
     * A model transformer.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ModelTransformer {
    
        /**
         * Apply a transformation on the file model.
         *
         * @param model the input model
         * @param problems the problem collector to report any issues encountered during transformation
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java

                    final String headerValue = req.getHeader(host.getValue1());
                    if (host.getValue2().equalsIgnoreCase(headerValue)) {
                        return func.apply(host.getValue3());
                    }
                }
                return defaultValue;
            }).orElse(defaultValue);
        }
    
        public String[] getVirtualHostPaths() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

        new ForwardingWrapperTester()
            .testForwarding(
                interfaceType,
                new Function<Object, T>() {
                  @Override
                  public T apply(Object delegate) {
                    T mock = mock(forwarderClass, CALLS_REAL_METHODS);
                    try {
                      T stubber = doReturn(delegate).when(mock);
                      DELEGATE_METHOD.invoke(stubber);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 05 19:41:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top