Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for text (0.13 sec)

  1. src/bufio/bufio_test.go

    }
    
    func TestReader(t *testing.T) {
    	var texts [31]string
    	str := ""
    	all := ""
    	for i := 0; i < len(texts)-1; i++ {
    		texts[i] = str + "\n"
    		all += texts[i]
    		str += string(rune(i%26 + 'a'))
    	}
    	texts[len(texts)-1] = all
    
    	for h := 0; h < len(texts); h++ {
    		text := texts[h]
    		for i := 0; i < len(readMakers); i++ {
    			for j := 0; j < len(bufreaders); j++ {
    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)
  2. src/archive/zip/reader_test.go

    		t.Errorf("Opening %q with fs.FS API succeeded", "")
    	}
    	if _, err := r.Open("test.txt"); err != nil {
    		t.Errorf("Error opening %q with fs.FS API: %v", "test.txt", err)
    	}
    	dirEntries, err := fs.ReadDir(r, ".")
    	if err != nil {
    		t.Fatalf("Error reading the root directory: %v", err)
    	}
    	if len(dirEntries) != 1 || dirEntries[0].Name() != "test.txt" {
    		t.Errorf("Unexpected directory entries")
    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)
  3. src/cmd/asm/internal/asm/testdata/amd64enc_extra.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This input extends auto-generated amd64enc.s test suite
    // with manually added tests.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT asmtest(SB),DUPOK|NOSPLIT,$0
    	// AVX2GATHER: basic combinations.
    	VPGATHERDQ Y2, (BP)(X7*2), Y1           // c4e2ed904c7d00
    	VPGATHERDQ X12, (R13)(X14*2), X11       // c40299905c7500
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 11 18:32:50 GMT 2023
    - 57.6K bytes
    - Viewed (0)
  4. src/bytes/bytes_test.go

    		{"a☺b☻c☹d", "b", len("a☺")},               // non-ascii
    	}
    	for _, test := range testCases {
    		actual := LastIndexByte([]byte(test.a), test.b[0])
    		if actual != test.i {
    			t.Errorf("LastIndexByte(%q,%c) = %v; want %v", test.a, test.b[0], actual, test.i)
    		}
    	}
    }
    
    // test a larger buffer with different sizes and alignments
    func TestIndexByteBig(t *testing.T) {
    	var n = 1024
    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)
  5. src/cmd/asm/internal/asm/testdata/ppc64.s

    	// Hex constant 0x20004000000
    	MOVD $2199090364416, R5         // 60058001
    	// Hex constant 0xFFFFFE0004000000
    	MOVD $-2198956146688, R5        // 38a08001
    	// TODO: On GOPPC64={power8,power9}, this is preprocessed into MOVD $-1, R5; RLDC R5, $33, $63, R5.
    	//       This only captures the MOVD. Should the RLDC be appended to the encoding by the test?
    	// Hex constant 0xFFFFFFFE00000001
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/arm64.s

    	VFMLS	V1.D2, V12.D2, V1.D2            // 81cde14e
    	VFMLS	V1.S2, V12.S2, V1.S2            // 81cda10e
    	VFMLS	V1.S4, V12.S4, V1.S4            // 81cda14e
    	VEXT	$4, V2.B8, V1.B8, V3.B8         // 2320022e
    	VEXT	$8, V2.B16, V1.B16, V3.B16      // 2340026e
    	VRBIT	V24.B16, V24.B16                // 185b606e
    	VRBIT	V24.B8, V24.B8                  // 185b602e
    	VUSHR	$56, V1.D2, V2.D2               // 2204486f
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 94.9K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/arm.s

    // the old assembler's (5a's) grammar and hand-writing complete
    // instructions for each rule, to guarantee we cover the same space.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT	foo(SB), DUPOK|NOSPLIT, $0
    
    // ADD
    //
    //	LTYPE1 cond imsr ',' spreg ',' reg
    //	{
    //		outcode($1, $2, &$3, $5, &$7);
    //	}
    // Cover some operand space here too.
    	ADD	$1, R2, R3
    	ADD	R1<<R2, R3, R4
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 15 20:51:01 GMT 2023
    - 69K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    		return true
    	}
    	return false
    }
    
    // Comment from Darwin's CFInternal.h
    /*
    // Tagged pointer support
    // Low-bit set means tagged object, next 3 bits (currently)
    // define the tagged object class, next 4 bits are for type
    // information for the specific tagged object class.  Thus,
    // the low byte is for type info, and the rest of a pointer
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/avx512enc/avx512_vbmi2.s

    // Code generated by avx512test. DO NOT EDIT.
    
    #include "../../../../../../runtime/textflag.h"
    
    TEXT asmtest_avx512_vbmi2(SB), NOSPLIT, $0
    	VPCOMPRESSB X7, K1, X15                            // 62d27d0963ff
    	VPCOMPRESSB X13, K1, X15                           // 62527d0963ef
    	VPCOMPRESSB X8, K1, X15                            // 62527d0963c7
    	VPCOMPRESSB X7, K1, X28                            // 62927d0963fc
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue May 22 14:57:15 GMT 2018
    - 97.1K bytes
    - Viewed (0)
Back to top