Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for baz (0.13 sec)

  1. internal/lock/lock_windows_test.go

    		{`C:\long\foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:/long/foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:\long\foo\\bar\.\baz\\`, `\\?\C:\long\foo\bar\baz`},
    		{`\\unc\path`, `\\unc\path`},
    		{`long.txt`, `long.txt`},
    		{`C:long.txt`, `C:long.txt`},
    		{`c:\long\..\bar\baz`, `c:\long\..\bar\baz`},
    		{`\\?\c:\long\foo.txt`, `\\?\c:\long\foo.txt`},
    		{`\\?\c:\long/foo.txt`, `\\?\c:\long/foo.txt`},
    	} {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.2K 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 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  3. istioctl/pkg/metrics/metrics.go

      istioctl experimental metrics productpage-v1 -d 2m
    
      # Retrieve workload metrics for various services in the different namespaces
      istioctl experimental metrics productpage-v1.foo reviews-v1.bar ratings-v1.baz`,
    		// nolint: goimports
    		Aliases: []string{"m"},
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) < 1 {
    				cmd.Println(cmd.UsageString())
    				return fmt.Errorf("metrics requires workload name")
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  4. istioctl/pkg/workload/workload_test.go

    				" --annotations annotation=foobar --ports grpc=3550,http=8080 --serviceAccount test", " "),
    			expectedException: false,
    			expectedOutput:    customYAML,
    		},
    		{
    			description: "valid case - create full workload group with shortnames",
    			args: strings.Split("group create --name foo -n bar -l app=foo,bar=baz -p grpc=3550,http=8080"+
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  5. src/bytes/example_test.go

    func ExampleEqualFold() {
    	fmt.Println(bytes.EqualFold([]byte("Go"), []byte("go")))
    	// Output: true
    }
    
    func ExampleFields() {
    	fmt.Printf("Fields are: %q", bytes.Fields([]byte("  foo bar  baz   ")))
    	// Output: Fields are: ["foo" "bar" "baz"]
    }
    
    func ExampleFieldsFunc() {
    	f := func(c rune) bool {
    		return !unicode.IsLetter(c) && !unicode.IsNumber(c)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  6. istioctl/pkg/writer/table/writer_test.go

    				NewCell(o.version),
    			},
    		}
    	})
    	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 {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Oct 08 04:41:42 GMT 2022
    - 1.6K bytes
    - Viewed (0)
  7. src/archive/tar/tar_test.go

    		header:  &Header{Xattrs: map[string]string{"用戶名": "\x00hello"}},
    		paxHdrs: map[string]string{paxSchilyXattr + "用戶名": "\x00hello"},
    		formats: FormatPAX,
    	}, {
    		header:  &Header{Xattrs: map[string]string{"foo=bar": "baz"}},
    		formats: FormatUnknown,
    	}, {
    		header:  &Header{Xattrs: map[string]string{"foo": ""}},
    		paxHdrs: map[string]string{paxSchilyXattr + "foo": ""},
    		formats: FormatPAX,
    	}, {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  8. internal/event/config_test.go

    		{string([]byte{0xff, 0xfe, 0xfd}), true},
    		{`foo\bar`, true},
    		{"Hello/世界", false},
    	}
    
    	for i, testCase := range testCases {
    		err := ValidateFilterRuleValue(testCase.value)
    		expectErr := (err != nil)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Dec 05 10:16:33 GMT 2023
    - 29K bytes
    - Viewed (0)
  9. istioctl/pkg/workload/workload.go

    The default output is serialized YAML, which can be piped into 'kubectl apply -f -' to send the artifact to the API Server.`,
    		Example: "  istioctl x workload group create --name foo --namespace bar --labels app=foo,bar=baz " +
    			"--ports grpc=3550,http=8080 --annotations annotation=foobar --serviceAccount sa",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if name == "" {
    				return fmt.Errorf("expecting a workload name")
    			}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  10. src/bytes/bytes_test.go

    					}
    					a[diffpos] = 0
    				}
    			}
    		}
    	}
    }
    
    var indexTests = []BinOpTest{
    	{"", "", 0},
    	{"", "a", -1},
    	{"", "foo", -1},
    	{"fo", "foo", -1},
    	{"foo", "baz", -1},
    	{"foo", "foo", 0},
    	{"oofofoofooo", "f", 2},
    	{"oofofoofooo", "foo", 4},
    	{"barfoobarfoo", "foo", 3},
    	{"foo", "", 0},
    	{"foo", "o", 1},
    	{"abcABCabc", "A", 3},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top