Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for flive (0.07 sec)

  1. src/net/http/transport_test.go

    	defer d.mu.Unlock()
    	d.total++
    	d.live++
    
    	runtime.SetFinalizer(counted, d.decrement)
    	return counted, nil
    }
    
    func (d *countingDialer) decrement(*countedConn) {
    	d.mu.Lock()
    	defer d.mu.Unlock()
    	d.live--
    }
    
    func (d *countingDialer) Read() (total, live int64) {
    	d.mu.Lock()
    	defer d.mu.Unlock()
    	return d.total, d.live
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Maps.java

        if (comparator != null) { // can't use ? : because of javac bug 5080917
          return comparator;
        }
        return (Comparator<E>) Ordering.natural();
      }
    
      /**
       * Returns a live {@link Map} view whose keys are the contents of {@code set} and whose values are
       * computed on demand using {@code function}. To get an immutable <i>copy</i> instead, use {@link
       * #toMap(Iterable, Function)}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  3. src/reflect/value.go

    				fl := flagIndir | flag(tv.Kind())
    				ret[i] = Value{tv, add(stackArgs, st.stkOff, "tv.Size() != 0"), fl}
    				// Note: this does introduce false sharing between results -
    				// if any result is live, they are all live.
    				// (And the space for the args is live as well, but as we've
    				// cleared that space it isn't as big a deal.)
    				continue
    			}
    
    			// Handle pointers passed in registers.
    			if !tv.IfaceIndir() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  4. src/net/http/server.go

    	}
    
    	// If this was an HTTP/1.0 request with keep-alive and we sent a
    	// Content-Length back, we can make this a keep-alive response ...
    	if w.wants10KeepAlive && keepAlivesEnabled {
    		sentLength := header.get("Content-Length") != ""
    		if sentLength && header.get("Connection") == "keep-alive" {
    			w.closeAfterReply = false
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  5. src/net/http/serve_test.go

    func send304(w ResponseWriter, r *Request) { w.WriteHeader(304) }
    
    // Issue 15647: 204 responses can't have bodies, so HTTP/1.0 keep-alive conns should stay open.
    func TestHTTP10KeepAlive204Response(t *testing.T) {
    	testTCPConnectionStaysOpen(t, "GET / HTTP/1.0\r\nConnection: keep-alive\r\n\r\n", HandlerFunc(send204))
    }
    
    func TestHTTP11KeepAlive204Response(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LocalCache.java

         * comments.
         */
    
        @Weak final LocalCache<K, V> map;
    
        /** The number of live elements in this segment's region. */
        volatile int count;
    
        /** The weight of the live elements in this segment's region. */
        @GuardedBy("this")
        long totalWeight;
    
        /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_builder_test.go

    		wantConnOpts   *cluster.UpstreamConnectionOptions
    	}{
    		{
    			name:           "no tcp alive",
    			mesh:           &meshconfig.MeshConfig{},
    			connectionPool: &networking.ConnectionPoolSettings{},
    			wantConnOpts:   nil,
    		},
    		{
    			name: "destination rule tcp alive",
    			mesh: &meshconfig.MeshConfig{},
    			connectionPool: &networking.ConnectionPoolSettings{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LocalCache.java

         * comments.
         */
    
        @Weak final LocalCache<K, V> map;
    
        /** The number of live elements in this segment's region. */
        volatile int count;
    
        /** The weight of the live elements in this segment's region. */
        @GuardedBy("this")
        long totalWeight;
    
        /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  9. cluster/gce/gci/configure-helper.sh

       addockeropt "\"mtu\": 1460,"
       addockeropt "\"storage-driver\": \"overlay2\","
       echo "setting live restore"
       # Disable live-restore if the environment variable is set.
       if [[ "${DISABLE_DOCKER_LIVE_RESTORE:-false}" == "true" ]]; then
          addockeropt "\"live-restore\": false,"
       else
          addockeropt "\"live-restore\": true,"
       fi
    }
    
    function assemble-docker-flags {
      echo "Assemble docker options"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  10. src/database/sql/sql.go

    	if pinger, ok := dc.ci.(driver.Pinger); ok {
    		withLock(dc, func() {
    			err = pinger.Ping(ctx)
    		})
    	}
    	release(err)
    	return err
    }
    
    // PingContext verifies a connection to the database is still alive,
    // establishing a connection if necessary.
    func (db *DB) PingContext(ctx context.Context) error {
    	var dc *driverConn
    	var err error
    
    	err = db.retry(func(strategy connReuseStrategy) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
Back to top