Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for qux (0.01 sec)

  1. src/archive/tar/writer_test.go

    	if err != nil {
    		t.Fatalf("os.Stat: %v", err)
    	}
    	contents := strings.Repeat(" ", int(hdr.Size))
    
    	hdr.Xattrs = map[string]string{
    		"foo": "foo",
    		"bar": "bar",
    		"baz": "baz",
    		"qux": "qux",
    	}
    
    	var buf bytes.Buffer
    	writer := NewWriter(&buf)
    	if err := writer.WriteHeader(hdr); err != nil {
    		t.Fatal(err)
    	}
    	if _, err = writer.Write([]byte(contents)); err != nil {
    		t.Fatal(err)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

      @Test fun readPaddedHeadersFrame() {
        val paddingLength = 254
        val padding = ByteArray(paddingLength)
        Arrays.fill(padding, 0.toByte())
        val headerBlock = literalHeaders(headerEntries("foo", "barrr", "baz", "qux"))
        writeMedium(frame, headerBlock.size.toInt() + paddingLength + 1)
        frame.writeByte(Http2.TYPE_HEADERS)
        frame.writeByte(FLAG_END_HEADERS or FLAG_PADDED)
        frame.writeInt(expectedStreamId and 0x7fffffff)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      public void testGetFirst_withDefault_multiple() {
        Iterable<String> iterable = asList("foo", "bar");
        assertEquals("foo", Iterables.getFirst(iterable, "qux"));
      }
    
      public void testGetLast_list() {
        List<String> list = newArrayList("a", "b", "c");
        assertEquals("c", Iterables.getLast(list));
      }
    
      public void testGetLast_emptyList() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Splitter.java

     *
     * <p>For example, this expression:
     *
     * <pre>{@code
     * Splitter.on(',').split("foo,bar,qux")
     * }</pre>
     *
     * ... produces an {@code Iterable} containing {@code "foo"}, {@code "bar"} and {@code "qux"}, in
     * that order.
     *
     * <p>By default, {@code Splitter}'s behavior is simplistic and unassuming. The following
     * expression:
     *
     * <pre>{@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top