Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Hijack (0.3 sec)

  1. internal/http/response-recorder.go

    	headersLogged bool
    }
    
    // Hijack - hijacks the underlying connection
    func (lrw *ResponseRecorder) Hijack() (net.Conn, *bufio.ReadWriter, error) {
    	hj, ok := lrw.ResponseWriter.(http.Hijacker)
    	if !ok {
    		return nil, nil, fmt.Errorf("response writer does not support hijacking. Type is %T", lrw.ResponseWriter)
    	}
    	return hj.Hijack()
    }
    
    // TTFB of the request - this function needs to be called
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> iterator = Lists.newArrayList("manny", "mo", "jack").iterator();
        assertEquals(1, Iterators.indexOf(iterator, equalTo("mo")));
        assertEquals("jack", iterator.next());
        assertFalse(iterator.hasNext());
      }
    
      public void testIndexOf_consumedDataWithDuplicates() {
        Iterator<String> iterator = Lists.newArrayList("manny", "mo", "mo", "jack").iterator();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 56.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals(-1, Iterables.indexOf(list, equalTo("jack")));
      }
    
      public void testIndexOf_twoElements() {
        List<String> list = Lists.newArrayList("mary", "bob");
        assertEquals(0, Iterables.indexOf(list, equalTo("mary")));
        assertEquals(1, Iterables.indexOf(list, equalTo("bob")));
        assertEquals(-1, Iterables.indexOf(list, equalTo("jack")));
      }
    
      public void testIndexOf_withDuplicates() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 45.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      Last came a little feeble, squeaking voice, (`That's Bill,'
    thought Alice,) `Well, I hardly know--No more, thank ye; I'm
    better now--but I'm a deal too flustered to tell you--all I know
    is, something comes at me like a Jack-in-the-box, and up I goes
    like a sky-rocket!'
    
      `So you did, old fellow!' said the others.
    
      `We must burn the house down!' said the Rabbit's voice; and
    Alice called out as loud as she could, `If you do.  I'll set
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 145.2K bytes
    - Viewed (0)
Back to top