Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. istioctl/pkg/writer/table/writer_test.go

    			},
    		}
    	})
    	w.AddRow(newTestObject("foo", "bar", "1.0"))
    	w.AddRow(newTestObject("baz", "qux", "2.0"))
    	w.AddRow(newTestObject("qux", "quux", "3"))
    	w.Flush()
    	expected := "NAME  NAMESPACE      VERSION\n" +
    		"foo   \x1b[32mbar\x1b[0m            1.0\n" +
    		"baz   \x1b[32mqux\x1b[0m            2.0\n" +
    		"qux   \x1b[32mquux\x1b[0m           3\n"
    	if got.String() != expected {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Oct 08 04:41:42 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tests/preload_suits_test.go

    	levelA1 := &LevelA1{Value: "foo"}
    	if err := DB.Save(levelA1).Error; err != nil {
    		t.Error(err)
    	}
    
    	want := []*LevelA2{
    		{
    			Value: "bar",
    			LevelA3s: []*LevelA3{
    				{
    					Value:   "qux",
    					LevelA1: levelA1,
    				},
    			},
    		},
    		{
    			Value:    "bar 2",
    			LevelA3s: []*LevelA3{},
    		},
    	}
    	for _, levelA2 := range want {
    		if err := DB.Save(levelA2).Error; err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 18 05:38:46 UTC 2022
    - 30.3K bytes
    - Viewed (0)
Back to top