Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for 26 (0.69 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/zip/writer_test.go

    		t.Errorf("unexpected method and flags: %v", b[6:10])
    	}
    
    	if !bytes.Equal(b[14:26], make([]byte, 12)) { // FileHeader.{CRC32,CompressSize,UncompressedSize} all zero.
    		t.Errorf("unexpected crc, compress and uncompressed size to be 0 was: %v", b[14:26])
    	}
    
    	binary.LittleEndian.PutUint32(sig[:], uint32(dataDescriptorSignature))
    	if bytes.Contains(b, sig[:]) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/asm/internal/asm/testdata/arm64enc.s

    	//TODO VFCVTXN2 V0.D2, V21.S4              // 1568616e
    	//TODO FCVTZS $26, F29, F19                // b3ff665f
    	//TODO VFCVTZS $45, V14.D2, V18.D2         // d2fd534f
    	//TODO FCVTZS F8, F7                       // 07b9a15e
    	//TODO VFCVTZS V2.S2, V4.S2                // 44b8a10e
    	//TODO FCVTZS $26, F7, R11                 // eb98181e
    	//TODO FCVTZS $7, F4, ZR                   // 9fe4189e
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jul 24 01:11:41 GMT 2023
    - 43.9K bytes
    - Viewed (1)
  6. 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)
  7. 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 May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  8. 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)
  9. api/go1.16.txt

    pkg syscall (darwin-arm64), const CSTOP ideal-int
    pkg syscall (darwin-arm64), const CSTOPB = 1024
    pkg syscall (darwin-arm64), const CSTOPB ideal-int
    pkg syscall (darwin-arm64), const CSUSP = 26
    pkg syscall (darwin-arm64), const CSUSP ideal-int
    pkg syscall (darwin-arm64), const CTL_MAXNAME = 12
    pkg syscall (darwin-arm64), const CTL_MAXNAME ideal-int
    pkg syscall (darwin-arm64), const CTL_NET = 4
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  10. src/archive/tar/writer_test.go

    		"0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/file.txt",
    		"0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/file.txt",
    		"0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/333/file.txt",
    		"0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/file.txt",
    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)
Back to top