Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for closeable (0.2 sec)

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

      final ExecutorService closingExecutor = newSingleThreadExecutor();
    
      final TestCloseable closeable1 = new TestCloseable("closeable1");
      final TestCloseable closeable2 = new TestCloseable("closeable2");
      final TestCloseable closeable3 = new TestCloseable("closeable3");
      final TestCloseable closeable4 = new TestCloseable("closeable4");
    
      final Waiter waiter = new Waiter();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      final ExecutorService closingExecutor = newSingleThreadExecutor();
    
      final TestCloseable closeable1 = new TestCloseable("closeable1");
      final TestCloseable closeable2 = new TestCloseable("closeable2");
      final TestCloseable closeable3 = new TestCloseable("closeable3");
      final TestCloseable closeable4 = new TestCloseable("closeable4");
    
      final Waiter waiter = new Waiter();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryTest.groovy

                @Provides
                Closeable createCloseableService() {
                    parentService
                }
            })
    
            def child = new DefaultServiceRegistry(registry)
            def childService = Mock(TestStopService)
            child.addProvider(new ServiceRegistrationProvider() {
                @Provides
                Stoppable createCloseableService(Closeable dependency) {
                    childService
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:53:25 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java

     *
     * <p>Service instances and factories are closed when the registry that created them is closed using {@link #close()}. If a service instance or factory implements {@link java.io.Closeable} or {@link
     * org.gradle.internal.concurrent.Stoppable} then the appropriate {@link Closeable#close()} or {@link Stoppable#stop()} method is called. Instances are closed in reverse dependency order.</p>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  5. okhttp/api/okhttp.api

    }
    
    public final class okhttp3/MultipartReader : java/io/Closeable {
    	public fun <init> (Lokhttp3/ResponseBody;)V
    	public fun <init> (Lokio/BufferedSource;Ljava/lang/String;)V
    	public final fun boundary ()Ljava/lang/String;
    	public fun close ()V
    	public final fun nextPart ()Lokhttp3/MultipartReader$Part;
    }
    
    public final class okhttp3/MultipartReader$Part : java/io/Closeable {
    	public fun <init> (Lokhttp3/Headers;Lokio/BufferedSource;)V
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  6. pkg/proxy/winkernel/proxier.go

    func Enum(p v1.Protocol) uint16 {
    	if p == v1.ProtocolTCP {
    		return 6
    	}
    	if p == v1.ProtocolUDP {
    		return 17
    	}
    	if p == v1.ProtocolSCTP {
    		return 132
    	}
    	return 0
    }
    
    type closeable interface {
    	Close() error
    }
    
    // Proxier implements proxy.Provider
    var _ proxy.Provider = &Proxier{}
    
    // NewProxier returns a new Proxier
    func NewProxier(
    	ipFamily v1.IPFamily,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/lib.go

    			}
    			argv = append(argv, "-shared")
    			if ctxt.HeadType == objabi.Hwindows {
    				argv = addASLRargs(argv, *flagAslr)
    			} else {
    				// Pass -z nodelete to mark the shared library as
    				// non-closeable: a dlclose will do nothing.
    				argv = append(argv, "-Wl,-z,nodelete")
    				// Only pass Bsymbolic on non-Windows.
    				argv = append(argv, "-Wl,-Bsymbolic")
    			}
    		}
    	case BuildModeShared:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  8. src/net/http/transport.go

    // value is a zero-length slice, the request is treated as idempotent but the
    // header is not sent on the wire.
    type Transport struct {
    	idleMu       sync.Mutex
    	closeIdle    bool                                // user has requested to close all idle conns
    	idleConn     map[connectMethodKey][]*persistConn // most recently used at end
    	idleConnWait map[connectMethodKey]wantConnQueue  // waiting getConns
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  9. cmd/kubelet/app/server.go

    	}
    	d := connrotation.NewDialer((&net.Dialer{Timeout: 30 * time.Second, KeepAlive: 30 * time.Second}).DialContext)
    	clientConfig.Dial = d.DialContext
    	return d.CloseAll, nil
    }
    
    // buildClientCertificateManager creates a certificate manager that will use certConfig to request a client certificate
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
Back to top