Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for bear (0.17 sec)

  1. src/cmd/asm/internal/asm/testdata/duperror.s

    // license that can be found in the LICENSE file.
    
    TEXT foo(SB), 0, $0
    	RET
    TEXT foo(SB), 0, $0 // ERROR "symbol foo redeclared"
    	RET
    
    GLOBL bar(SB), 0, $8
    GLOBL bar(SB), 0, $8 // ERROR "symbol bar redeclared"
    
    DATA bar+0(SB)/8, $0
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Dec 05 23:21:07 GMT 2022
    - 404 bytes
    - Viewed (0)
  2. src/archive/tar/tar_test.go

    		formats: FormatUSTAR | FormatPAX | FormatGNU,
    	}, {
    		header:  &Header{Xattrs: map[string]string{"foo": "bar"}},
    		paxHdrs: map[string]string{paxSchilyXattr + "foo": "bar"},
    		formats: FormatPAX,
    	}, {
    		header:  &Header{Xattrs: map[string]string{"foo": "bar"}, Format: FormatGNU},
    		paxHdrs: map[string]string{paxSchilyXattr + "foo": "bar"},
    		formats: FormatUnknown,
    	}, {
    		header:  &Header{Xattrs: map[string]string{"用戶名": "\x00hello"}},
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue29563/weak.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package issue29563
    
    //int foo1();
    //int foo2();
    import "C"
    
    func Bar() int {
    	return int(C.foo1()) + int(C.foo2())
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 277 bytes
    - Viewed (0)
  4. src/archive/tar/writer_test.go

    	if !bytes.Contains(buf.Bytes(), []byte("PaxHeaders.0")) {
    		t.Fatal("Expected at least one PAX header to be written.")
    	}
    
    	// xattr bar should always appear before others
    	indices := []int{
    		bytes.Index(buf.Bytes(), []byte("bar=bar")),
    		bytes.Index(buf.Bytes(), []byte("baz=baz")),
    		bytes.Index(buf.Bytes(), []byte("foo=foo")),
    		bytes.Index(buf.Bytes(), []byte("qux=qux")),
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  5. src/archive/zip/testdata/crc32-not-streamed.zip

    foo.txt foo bar.txt bar...
    ZIP Archive
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Sep 08 04:08:51 GMT 2014
    - 314 bytes
    - Viewed (0)
  6. src/archive/zip/testdata/go-with-datadesc-sig.zip

    foo.txt foo bar.txt bar...
    ZIP Archive
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Sep 08 04:08:51 GMT 2014
    - 242 bytes
    - Viewed (0)
  7. 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 23 11:13:09 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  8. src/archive/zip/struct.go

    // See: https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-filetimetodosdatetime
    func timeToMsDosTime(t time.Time) (fDate uint16, fTime uint16) {
    	fDate = uint16(t.Day() + int(t.Month())<<5 + (t.Year()-1980)<<9)
    	fTime = uint16(t.Second()/2 + t.Minute()<<5 + t.Hour()<<11)
    	return
    }
    
    // ModTime returns the modification time in UTC using the legacy
    // [ModifiedDate] and [ModifiedTime] fields.
    //
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  9. src/bytes/bytes_test.go

    func TestIndexRune(t *testing.T) {
    	tests := []struct {
    		in   string
    		rune rune
    		want int
    	}{
    		{"", 'a', -1},
    		{"", '☺', -1},
    		{"foo", '☹', -1},
    		{"foo", 'o', 1},
    		{"foo☺bar", '☺', 3},
    		{"foo☺☻☹bar", '☹', 9},
    		{"a A x", 'A', 2},
    		{"some_text=some_value", '=', 9},
    		{"☺a", 'a', 3},
    		{"a☻☺b", '☺', 4},
    
    		// RuneError should match any invalid UTF-8 byte sequence.
    		{"�", '�', 0},
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top