Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for bar (0.34 sec)

  1. src/archive/zip/reader_test.go

    			{
    				Name:     "foo.txt",
    				Content:  []byte("foo\n"),
    				Modified: time.Date(2012, 3, 8, 16, 59, 10, 0, timeZone(-8*time.Hour)),
    				Mode:     0644,
    			},
    			{
    				Name:     "bar.txt",
    				Content:  []byte("bar\n"),
    				Modified: time.Date(2012, 3, 8, 16, 59, 12, 0, timeZone(-8*time.Hour)),
    				Mode:     0644,
    			},
    		},
    	},
    	{
    		// created by Go, after we wrote the "optional" data
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    	r.Read(buf)
    	if string(buf) != "foo" {
    		t.Errorf("buf = %q; want foo", buf)
    	}
    
    	r.Reset(strings.NewReader("bar bar"))
    	checkAll(r, "bar bar")
    
    	*r = Reader{} // zero out the Reader
    	r.Reset(strings.NewReader("bar bar"))
    	checkAll(r, "bar bar")
    
    	// Wrap a reader and then Reset to that reader.
    	r.Reset(strings.NewReader("recur"))
    	r2 := NewReader(r)
    	checkAll(r2, "recur")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  3. src/archive/tar/strconv_test.go

    		{"210 path=" + longName + "\nabc", "abc", "path", longName, true},
    		{"110 path=" + medName + "\n", "", "path", medName, true},
    		{"9 foo=ba\n", "", "foo", "ba", true},
    		{"11 foo=bar\n\x00", "\x00", "foo", "bar", true},
    		{"18 foo=b=\nar=\n==\x00\n", "", "foo", "b=\nar=\n==\x00", true},
    		{"27 foo=hello9 foo=ba\nworld\n", "", "foo", "hello9 foo=ba\nworld", true},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
  4. src/cmd/api/testdata/src/pkg/p1/p1.go

    type s struct{}
    
    func (s) method()
    func (s) Method()
    
    func (S) StructValueMethod()
    func (ignored S) StructValueMethodNamedRecv()
    
    func (s *S2) unexported(x int8, y int16, z int64) {}
    
    func Bar(x int8, y int16, z int64)                  {}
    func Bar1(x int8, y int16, z int64) uint64          {}
    func Bar2(x int8, y int16, z int64) (uint8, uint64) {}
    func BarE() Error                                   {}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  5. src/cmd/api/api_test.go

    func TestSkipInternal(t *testing.T) {
    	tests := []struct {
    		pkg  string
    		want bool
    	}{
    		{"net/http", true},
    		{"net/http/internal-foo", true},
    		{"net/http/internal", false},
    		{"net/http/internal/bar", false},
    		{"internal/foo", false},
    		{"internal", false},
    	}
    	for _, tt := range tests {
    		got := !internalPkg.MatchString(tt.pkg)
    		if got != tt.want {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 17:31:12 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  6. src/cmd/cgo/doc.go

    directory in the include path; i.e. -I${SRCDIR} is always implied. This
    means that if a header file foo/bar.h exists both in the source
    directory and also in the system include directory (or some other place
    specified by a -I flag), then "#include <foo/bar.h>" will always find the
    local version in preference to any other version.
    
    The cgo tool is enabled by default for native builds on systems where
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/operand_test.go

    	{"[X0-AX]", "[X0-AX]"},
    	{"[AX-X0]", "[AX-X0]"},
    	{"[):[o-FP", ""}, // Issue 12469 - asm hung parsing the o-FP range on non ARM platforms.
    }
    
    var amd64RuntimeOperandTests = []operandTest{
    	{"$bar<ABI0>(SB)", "$bar<ABI0>(SB)"},
    	{"$foo<ABIInternal>(SB)", "$foo<ABIInternal>(SB)"},
    }
    
    var amd64BadOperandTests = []badOperandTest{
    	{"[", "register list: expected ']', found EOF"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  8. doc/go1.17_spec.html

    Carriage return characters ('\r') inside raw string literals
    are discarded from the raw string value.
    </p>
    
    <p>
    Interpreted string literals are character sequences between double
    quotes, as in <code>&quot;bar&quot;</code>.
    Within the quotes, any character may appear except newline and unescaped double quote.
    The text between the quotes forms the
    value of the literal, with backslash escapes interpreted as they
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/amd64.s

    label:
    	JB	-4(PC) // JCS -4(PC)
    	JB	label // JCS 17
    
    // LTYPEC spec3	{ outcode($1, &$2); }
    	JCS	2(PC)
    	JMP	-4(PC)
    	JCS	2(PC)
    	JMP	label // JMP 17
    	JCS	2(PC)
    	JMP	foo+4(SB)
    	JCS	2(PC)
    	JMP	bar<>+4(SB)
    	JCS	2(PC)
    	JMP	bar<>+4(SB)(R11*4)
    	JCS	2(PC)
    	JMP	*4(SP) // JMP 4(SP)
    	JCS	2(PC)
    	JMP	*(R12) // JMP (R12)
    	JCS	2(PC)
    //	JMP	*(R12*4) // TODO: This line is silently dropped on the floor!
    	JCS	2(PC)
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 18:57:21 GMT 2019
    - 3.3K bytes
    - Viewed (0)
  10. src/archive/zip/testdata/crc32-not-streamed.zip

    foo.txt foo bar.txt bar...
    ZIP Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Sep 08 04:08:51 GMT 2014
    - 314 bytes
    - Viewed (0)
Back to top