Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,927 for closec (0.17 sec)

  1. src/net/http/httptest/server.go

    	// wg counts the number of outstanding HTTP requests on this server.
    	// Close blocks until all requests are finished.
    	wg sync.WaitGroup
    
    	mu     sync.Mutex // guards closed and conns
    	closed bool
    	conns  map[net.Conn]http.ConnState // except terminal states
    
    	// client is configured for use with the server.
    	// Its transport is automatically closed when Close is called.
    	client *http.Client
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:26:10 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/CharSink.java

        checkNotNull(charSequence);
    
        Closer closer = Closer.create();
        try {
          Writer out = closer.register(openStream());
          out.append(charSequence);
          out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=1330
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/internal/service/scopes/DefaultGradleUserHomeScopeServiceRegistryTest.groovy

            homeDirServices.release(services1)
    
            then:
            !homeDir2Service.closed
            !homeDir1Service.closed
    
            when:
            homeDirServices.release(services2)
    
            then:
            homeDir2Service.closed
            !homeDir1Service.closed
        }
    
        def "closes services when registry closed"() {
            def dir = new File("home-dir")
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ByteSink.java

        checkNotNull(bytes);
    
        Closer closer = Closer.create();
        try {
          OutputStream out = closer.register(openStream());
          out.write(bytes);
          out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=1330
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/ByteSink.java

        checkNotNull(bytes);
    
        Closer closer = Closer.create();
        try {
          OutputStream out = closer.register(openStream());
          out.write(bytes);
          out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=1330
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. src/net/http/transport_internal_test.go

    		t.Errorf("roundTrip = %#v, %v; want errServerClosedIdle, transportReadFromServerError, or nothingWrittenError", err, err)
    	}
    
    	<-pc.closech
    	err = pc.closed
    	if !isNothingWrittenError(err) && !isTransportReadFromServerError(err) && err != errServerClosedIdle {
    		t.Errorf("pc.closed = %#v, %v; want errServerClosedIdle or transportReadFromServerError, or nothingWrittenError", err, err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:57:17 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/runtime/codec.go

    	"k8s.io/apimachinery/pkg/conversion/queryparams"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/klog/v2"
    )
    
    // codec binds an encoder and decoder.
    type codec struct {
    	Encoder
    	Decoder
    }
    
    // NewCodec creates a Codec from an Encoder and Decoder.
    func NewCodec(e Encoder, d Decoder) Codec {
    	return codec{e, d}
    }
    
    // Encode is a convenience wrapper for encoding to a []byte from an Encoder
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 03:20:30 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Codec.kt

         */
        val identities: ReadIdentities
    }
    
    
    interface MutableIsolateContext : IsolateContext {
        override var trace: PropertyTrace
    
        fun push(codec: Codec<Any?>)
        fun push(owner: IsolateOwner)
        fun push(owner: IsolateOwner, codec: Codec<Any?>)
        fun pop()
    
        suspend fun forIncompatibleType(path: String, action: suspend () -> Unit)
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultCacheFactoryTest.groovy

            0 * opened._
    
            when:
            factory.close()
    
            then:
            1 * closed.accept(implementation)
            0 * _
        }
    
        void "closes cache instance when reference is closed"() {
            def implementation
    
            when:
            def cache1 = factory.open(tmpDir.testDirectory, null, [prop: 'value'], mode(Exclusive), null, null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/httpstream/httpstream.go

    	CreateStream(headers http.Header) (Stream, error)
    	// Close resets all streams and closes the connection.
    	Close() error
    	// CloseChan returns a channel that is closed when the underlying connection is closed.
    	CloseChan() <-chan bool
    	// SetIdleTimeout sets the amount of time the connection may remain idle before
    	// it is automatically closed.
    	SetIdleTimeout(timeout time.Duration)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top