Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for 26 (0.18 sec)

  1. src/bytes/buffer_test.go

    		check(t, "TestBasicOperations (5)", &buf, "ab")
    
    		n, err = buf.Write(testBytes[2:26])
    		if want := 24; err != nil || n != want {
    			t.Errorf("Write: got (%d, %v), want (%d, %v)", n, err, want, nil)
    		}
    		check(t, "TestBasicOperations (6)", &buf, testString[0:26])
    
    		buf.Truncate(26)
    		check(t, "TestBasicOperations (7)", &buf, testString[0:26])
    
    		buf.Truncate(20)
    		check(t, "TestBasicOperations (8)", &buf, testString[0:20])
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    			r:            strings.NewReader("abcdefghijklmnopqrstuvwxyz"),
    			n:            26,
    			want:         26,
    			wantBuffered: 0,
    		},
    		{
    			name:         "discard more than end",
    			r:            strings.NewReader("abcdefghijklmnopqrstuvwxyz"),
    			n:            27,
    			want:         26,
    			wantErr:      io.EOF,
    			wantBuffered: 0,
    		},
    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

    		{"☺☻☹", "日a本b語ç", "27 ☺☻☹=日a本b語ç\n", true},
    		{"xhello", "\x00world", "17 xhello=\x00world\n", true},
    		{"path", "null\x00", "", false},
    		{"null\x00", "value", "", false},
    		{paxSchilyXattr + "key", "null\x00", "26 SCHILY.xattr.key=null\x00\n", true},
    	}
    
    	for _, v := range vectors {
    		got, err := formatPAXRecord(v.inKey, v.inVal)
    		ok := (err == nil)
    		if ok != v.ok {
    			if v.ok {
    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. api/go1.5.txt

    pkg debug/elf, const R_PPC64_REL16_LO = 250
    pkg debug/elf, const R_PPC64_REL16_LO R_PPC64
    pkg debug/elf, const R_PPC64_REL24 = 10
    pkg debug/elf, const R_PPC64_REL24 R_PPC64
    pkg debug/elf, const R_PPC64_REL32 = 26
    pkg debug/elf, const R_PPC64_REL32 R_PPC64
    pkg debug/elf, const R_PPC64_REL64 = 44
    pkg debug/elf, const R_PPC64_REL64 R_PPC64
    pkg debug/elf, const R_PPC64_TLS = 67
    pkg debug/elf, const R_PPC64_TLS R_PPC64
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  5. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const AF_DECnet ideal-int
    pkg syscall (netbsd-arm64-cgo), const AF_DLI = 13
    pkg syscall (netbsd-arm64-cgo), const AF_DLI ideal-int
    pkg syscall (netbsd-arm64-cgo), const AF_E164 = 26
    pkg syscall (netbsd-arm64-cgo), const AF_E164 ideal-int
    pkg syscall (netbsd-arm64-cgo), const AF_ECMA = 8
    pkg syscall (netbsd-arm64-cgo), const AF_ECMA ideal-int
    pkg syscall (netbsd-arm64-cgo), const AF_HYLINK = 15
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  6. src/archive/zip/reader_test.go

    0000320 bb fc 6c d6 99 23 eb 36 ad c6 c5 e1 d8 e1 e2 3e
    0000330 d9 90 5a f7 91 5d 6f bc 33 6d 98 47 d2 7c 2e 2f
    0000340 99 a4 25 72 85 49 2c be 0b 5b af 8f e5 6e 81 a6
    0000350 a3 5a 6f 39 53 3a ab 7a 8b 1e 26 f7 46 6c 7d 26
    0000360 53 b3 22 31 94 d3 83 f2 18 4d f5 92 33 27 53 97
    0000370 0f d3 e6 55 9c a6 c5 31 87 6f d3 f3 ae 39 6f 56
    0000380 10 7b ab 7e d0 b4 ca f2 b8 05 be 3f 0e 6e 5a 75
    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)
  7. src/archive/zip/zip_test.go

    // our zip performance, since the test above disabled CRC32 and flate.
    func BenchmarkZip64Test(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		testZip64(b, 1<<26)
    	}
    }
    
    func BenchmarkZip64TestSizes(b *testing.B) {
    	for _, size := range []int64{1 << 12, 1 << 20, 1 << 26} {
    		b.Run(fmt.Sprint(size), func(b *testing.B) {
    			b.RunParallel(func(pb *testing.PB) {
    				for pb.Next() {
    					testZip64(b, size)
    				}
    			})
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  8. api/go1.1.txt

    pkg syscall (freebsd-386), const AF_E164 = 26
    pkg syscall (freebsd-386), const AF_ECMA = 8
    pkg syscall (freebsd-386), const AF_HYLINK = 15
    pkg syscall (freebsd-386), const AF_IEEE80211 = 37
    pkg syscall (freebsd-386), const AF_IMPLINK = 3
    pkg syscall (freebsd-386), const AF_INET6 = 28
    pkg syscall (freebsd-386), const AF_IPX = 23
    pkg syscall (freebsd-386), const AF_ISDN = 26
    pkg syscall (freebsd-386), const AF_ISO = 7
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  9. api/go1.6.txt

    pkg debug/elf, const COMPRESS_ZLIB = 1
    pkg debug/elf, const COMPRESS_ZLIB CompressionType
    pkg debug/elf, const R_MIPS_16 = 1
    pkg debug/elf, const R_MIPS_16 R_MIPS
    pkg debug/elf, const R_MIPS_26 = 4
    pkg debug/elf, const R_MIPS_26 R_MIPS
    pkg debug/elf, const R_MIPS_32 = 2
    pkg debug/elf, const R_MIPS_32 R_MIPS
    pkg debug/elf, const R_MIPS_64 = 18
    pkg debug/elf, const R_MIPS_64 R_MIPS
    pkg debug/elf, const R_MIPS_ADD_IMMEDIATE = 34
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 13 23:40:13 GMT 2016
    - 12.9K bytes
    - Viewed (0)
  10. src/bytes/example_test.go

    	// Output:
    	// 8
    	// 9
    	// -1
    }
    
    func ExampleMap() {
    	rot13 := func(r rune) rune {
    		switch {
    		case r >= 'A' && r <= 'Z':
    			return 'A' + (r-'A'+13)%26
    		case r >= 'a' && r <= 'z':
    			return 'a' + (r-'a'+13)%26
    		}
    		return r
    	}
    	fmt.Printf("%s\n", bytes.Map(rot13, []byte("'Twas brillig and the slithy gopher...")))
    	// Output:
    	// 'Gjnf oevyyvt naq gur fyvgul tbcure...
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
Back to top