Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 257 for Closest (0.17 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/appendixa_test.go

    		{
    			example: hex("3bffffffffffffffff"),
    			reject:  "-2^64-1 overflows int64 and falling back to float64 (as with JSON) loses distinction between float and integer",
    		},
    		{
    			example: hex("c349010000000000000000"),
    			reject:  "-18446744073709551617 overflows int64 and falling back to float64 (as with JSON) loses distinction between float and integer",
    			fixme:   "decoding negative bigint to interface{} must not produce math/big.Int",
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 15 18:59:36 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/internal/xml/SimpleXmlWriterSpec.groovy

            when:
            writer.endCDATA()
    
            then:
            IllegalStateException e = thrown()
            e.message == 'Cannot end CDATA node, as not currently in a CDATA node.'
        }
    
        def "closes tags"() {
            when:
            writer.startElement("root")
            action.call(writer)
            writer.endElement()
    
            then:
            sw.toString().contains("<root>") //is closed with '>'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 02 12:15:58 UTC 2021
    - 14.1K bytes
    - Viewed (0)
  3. src/net/http/httputil/persist.go

    func (sc *ServerConn) Hijack() (net.Conn, *bufio.Reader) {
    	sc.mu.Lock()
    	defer sc.mu.Unlock()
    	c := sc.c
    	r := sc.r
    	sc.c = nil
    	sc.r = nil
    	return c, r
    }
    
    // Close calls [ServerConn.Hijack] and then also closes the underlying connection.
    func (sc *ServerConn) Close() error {
    	c, _ := sc.Hijack()
    	if c != nil {
    		return c.Close()
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Response.kt

     * value that may be consumed only once and then closed. All other properties are immutable.
     *
     * This class implements [Closeable]. Closing it simply closes its response body. See
     * [ResponseBody] for an explanation and examples.
     */
    class Response internal constructor(
      /**
       * The request that initiated this HTTP response. This is not necessarily the same request issued
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn.go

    				close(serveHTTPComplete)
    			}
    		}()
    		websocket.Server{Handshake: conn.handshake, Handler: conn.handle}.ServeHTTP(w, req)
    	}()
    
    	// In normal circumstances, "websocket.Server#ServeHTTP" calls "initialize" which closes
    	// "conn.ready" and then blocks until serving is complete.
    	select {
    	case <-conn.ready:
    		klog.V(8).Infof("websocket server initialized--serving")
    	case <-serveHTTPComplete:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. src/sort/zsortinterface.go

    	// Avoid unnecessary recursions of symMerge
    	// by direct insertion of data[a] into data[m:b]
    	// if data[a:m] only contains one element.
    	if m-a == 1 {
    		// Use binary search to find the lowest index i
    		// such that data[i] >= data[a] for m <= i < b.
    		// Exit the search loop with i == b in case no such index exists.
    		i := m
    		j := b
    		for i < j {
    			h := int(uint(i+j) >> 1)
    			if data.Less(h, a) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 13 20:16:24 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/math/StatsAccumulator.java

       * @throws IllegalStateException if the dataset is empty or contains a single value
       */
      public final double sampleStandardDeviation() {
        return Math.sqrt(sampleVariance());
      }
    
      /**
       * Returns the lowest value in the dataset. The count must be non-zero.
       *
       * <h3>Non-finite values</h3>
       *
       * <p>If the dataset contains {@link Double#NaN} then the result is {@link Double#NaN}. If it
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  8. src/net/net.go

    	// Write writes data to the connection.
    	// Write can be made to time out and return an error after a fixed
    	// time limit; see SetDeadline and SetWriteDeadline.
    	Write(b []byte) (n int, err error)
    
    	// Close closes the connection.
    	// Any blocked Read or Write operations will be unblocked and return errors.
    	Close() error
    
    	// LocalAddr returns the local network address, if known.
    	LocalAddr() Addr
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  9. src/sort/zsortfunc.go

    	// Avoid unnecessary recursions of symMerge
    	// by direct insertion of data[a] into data[m:b]
    	// if data[a:m] only contains one element.
    	if m-a == 1 {
    		// Use binary search to find the lowest index i
    		// such that data[i] >= data[a] for m <= i < b.
    		// Exit the search loop with i == b in case no such index exists.
    		i := m
    		j := b
    		for i < j {
    			h := int(uint(i+j) >> 1)
    			if data.Less(h, a) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 13 20:16:24 UTC 2022
    - 11.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

          private val source: BufferedSource = source.buffer()
    
          // Visible for testing.
          @JvmField var dynamicTable = arrayOfNulls<Header>(8)
    
          // Array is populated back to front, so new entries always have lowest index.
          private var nextHeaderIndex = dynamicTable.size - 1
    
          @JvmField var headerCount = 0
    
          @JvmField var dynamicTableByteCount = 0
    
          fun getAndResetHeaderList(): List<Header> {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
Back to top