Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 853 for handle_ (0.06 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

      }
    
      private static class TestCallable implements Callable<String> {
        @Override
        public String call() {
          return "foo";
        }
      }
    
      /** Simple same thread listening executor service that doesn't handle shutdown. */
      private static class TestListeningExecutorService extends AbstractListeningExecutorService {
    
        @Override
        public void execute(Runnable runnable) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbWatchHandle.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    
    import java.util.List;
    import java.util.concurrent.Callable;
    
    
    /**
     * Handle for receiving change notifications from an SMB server
     * 
     * 
     * @author mbechler
     *
     */
    public interface SmbWatchHandle extends AutoCloseable, Callable<List<FileNotifyInformation>> {
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

      }
    
      private static class TestCallable implements Callable<String> {
        @Override
        public String call() {
          return "foo";
        }
      }
    
      /** Simple same thread listening executor service that doesn't handle shutdown. */
      private static class TestListeningExecutorService extends AbstractListeningExecutorService {
    
        @Override
        public void execute(Runnable runnable) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java

     */
    package org.apache.maven.artifact.repository.layout;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.handler.ArtifactHandler;
    import org.apache.maven.artifact.metadata.ArtifactMetadata;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    
    /**
     */
    @Named("default")
    @Singleton
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java

    import java.io.Writer;
    import java.nio.file.Files;
    import java.util.Map;
    import java.util.Objects;
    
    import org.apache.maven.settings.Settings;
    import org.apache.maven.settings.v4.SettingsStaxWriter;
    
    /**
     * Handles serialization of settings into the default textual format.
     *
     * @deprecated since 4.0.0, use {@link SettingsStaxWriter} instead
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/DerivedComparable.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Simple derived class to verify that we handle generics correctly.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class DerivedComparable extends BaseComparable {
      public DerivedComparable(String s) {
        super(s);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 989 bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java

    import java.util.Map;
    import java.util.Objects;
    
    import org.apache.maven.api.settings.InputSource;
    import org.apache.maven.settings.Settings;
    import org.apache.maven.settings.v4.SettingsStaxReader;
    
    /**
     * Handles deserialization of settings from the default textual format.
     *
     * @deprecated since 4.0.0, use {@link SettingsStaxReader} instead
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

        }
      }
    
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? =
        if (sslSocket is org.openjsse.javax.net.ssl.SSLSocket) {
          when (val protocol = sslSocket.applicationProtocol) {
            // Handles both un-configured and none selected.
            null, "" -> null
            else -> protocol
          }
        } else {
          super.getSelectedProtocol(sslSocket)
        }
    
      companion object {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java

                // buffer, then append it with a preceding space...again, not sure what else to
                // do other than collapse whitespace.
                // NOTE: The case of a trailing quote is handled by nullifying the arg buffer.
                if (!addedToBuffer) {
                    if (currentArg != null) {
                        currentArg.append(' ').append(arg);
                    } else {
                        cleaned.add(arg);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/testing-events.md

    # Testing Events: startup - shutdown
    
    When you need your event handlers (`startup` and `shutdown`) to run in your tests, you can use the `TestClient` with a `with` statement:
    
    ```Python hl_lines="9-12  20-24"
    {!../../docs_src/app_testing/tutorial003.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 259 bytes
    - Viewed (0)
Back to top