Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for gooses (0.15 sec)

  1. src/net/http/transport_test.go

    		io.Copy(io.Discard, r.Body)
    	})).ts
    
    	c := ts.Client()
    
    	closes := 0
    
    	res, err := c.Post(ts.URL, "text/plain", countCloseReader{&closes, strings.NewReader("hello")})
    	if err != nil {
    		t.Fatal(err)
    	}
    	res.Body.Close()
    	if closes != 1 {
    		t.Errorf("closes = %d; want 1", closes)
    	}
    }
    
    func TestTransportTLSHandshakeTimeout(t *testing.T) {
    	defer afterTest(t)
    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. src/database/sql/sql_test.go

    	waitCondition(t, func() bool {
    		driver.mu.Lock()
    		opens = driver.openCount - opens0
    		closes = driver.closeCount - closes0
    		driver.mu.Unlock()
    
    		return closes == 1
    	})
    
    	if opens != 3 {
    		t.Errorf("opens = %d; want 3", opens)
    	}
    	if closes != 1 {
    		t.Errorf("closes = %d; want 1", closes)
    	}
    
    	if s := db.Stats(); s.MaxLifetimeClosed != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    came near her, she began, in a low, timid voice, `If you please,
    sir--'  The Rabbit started violently, dropped the white kid
    gloves and the fan, and skurried away into the darkness as hard
    as he could go.
    
      Alice took up the fan and gloves, and, as the hall was very
    hot, she kept fanning herself all the time she went on talking:
    `Dear, dear!  How queer everything is to-day!  And yesterday
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 145.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    came near her, she began, in a low, timid voice, `If you please,
    sir--'  The Rabbit started violently, dropped the white kid
    gloves and the fan, and skurried away into the darkness as hard
    as he could go.
    
      Alice took up the fan and gloves, and, as the hall was very
    hot, she kept fanning herself all the time she went on talking:
    `Dear, dear!  How queer everything is to-day!  And yesterday
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/rsc.io/markdown/emoji.go

    	"gift_heart":                           "\U0001f49d",
    	"giraffe":                              "\U0001f992",
    	"girl":                                 "\U0001f467",
    	"globe_with_meridians":                 "\U0001f310",
    	"gloves":                               "\U0001f9e4",
    	"goal_net":                             "\U0001f945",
    	"goat":                                 "\U0001f410",
    	"goggles":                              "\U0001f97d",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 107.7K bytes
    - Viewed (0)
  6. src/database/sql/sql.go

    //
    // Ping uses [context.Background] internally; to specify the context, use
    // [DB.PingContext].
    func (db *DB) Ping() error {
    	return db.PingContext(context.Background())
    }
    
    // Close closes the database and prevents new queries from starting.
    // Close then waits for all queries that have started processing on the server
    // to finish.
    //
    // It is rare to Close a [DB], as the [DB] handle is meant to be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  7. src/net/http/serve_test.go

    		if err != nil {
    			t.Error(err)
    			return
    		}
    		<-diec
    		conn.Close()
    	}()
    	reqs := 0
    	closes := 0
    	for {
    		select {
    		case <-gotReq:
    			reqs++
    			if reqs > 2 {
    				t.Fatal("too many requests")
    			}
    		case <-sawClose:
    			closes++
    			if closes > 1 {
    				return
    			}
    		}
    	}
    }
    
    func TestCloseNotifierChanLeak(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)
  8. src/net/http/server.go

    //
    // If ServeHTTP panics, the server (the caller of ServeHTTP) assumes
    // that the effect of the panic was isolated to the active request.
    // It recovers the panic, logs a stack trace to the server error log,
    // and either closes the network connection or sends an HTTP/2
    // RST_STREAM, depending on the HTTP protocol. To abort a handler so
    // the client sees an interrupted response but the server doesn't log
    // an error, panic with the value [ErrAbortHandler].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * CloseableList}, but it has not yet run. The {@link CloseableList} may not be subsumed.
         */
        WILL_CLOSE,
    
        /**
         * The callback that closes the {@link CloseableList} is running, but it has not completed. The
         * {@link CloseableList} may not be subsumed.
         */
        CLOSING,
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 98.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * CloseableList}, but it has not yet run. The {@link CloseableList} may not be subsumed.
         */
        WILL_CLOSE,
    
        /**
         * The callback that closes the {@link CloseableList} is running, but it has not completed. The
         * {@link CloseableList} may not be subsumed.
         */
        CLOSING,
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 98.3K bytes
    - Viewed (0)
Back to top