Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for texts (0.14 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 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/amd64.s

    loop:
    	LOOP	loop // LOOP
    
    	// Intel pseudonyms for our own renamings.
    	PADDD	M2, M1 // PADDL M2, M1
    	MOVDQ2Q	X1, M1 // MOVQ X1, M1
    	MOVNTDQ	X1, (AX)	// MOVNTO X1, (AX)
    	MOVOA	(AX), X1	// MOVO (AX), X1
    
    // Tests for SP indexed addresses.
    	MOVQ	foo(SP)(AX*1), BX		// 488b1c04
    	MOVQ	foo+32(SP)(CX*2), DX		// 488b544c20
    	MOVQ	foo+32323(SP)(R8*4), R9		// 4e8b8c84437e0000
    	MOVL	foo(SP)(SI*8), DI		// 8b3cf4
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 09 18:57:21 GMT 2019
    - 3.3K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/input.go

    			}
    			in.beginningOfLine = tok == '\n'
    			if in.enabled() {
    				in.text = in.Stack.Text()
    				return tok
    			}
    		}
    	}
    	in.Error("recursive macro invocation")
    	return 0
    }
    
    func (in *Input) Text() string {
    	return in.text
    }
    
    // hash processes a # preprocessor directive. It reports whether it completes.
    func (in *Input) hash() bool {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  4. src/bytes/reader_test.go

    	r := NewReader([]byte("0123456789"))
    	tests := []struct {
    		off     int64
    		n       int
    		want    string
    		wanterr any
    	}{
    		{0, 10, "0123456789", nil},
    		{1, 10, "123456789", io.EOF},
    		{1, 9, "123456789", nil},
    		{11, 10, "", io.EOF},
    		{0, 0, "", nil},
    		{-1, 0, "", "bytes.Reader.ReadAt: negative offset"},
    	}
    	for i, tt := range tests {
    		b := make([]byte, tt.n)
    		rn, err := r.ReadAt(b, tt.off)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Dec 13 18:45:54 GMT 2021
    - 8K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/line_test.go

    		{"BSWAPW DX", `unrecognized instruction`},
    		{"BSWAPW R11", `unrecognized instruction`},
    	})
    }
    
    func testBadInstParser(t *testing.T, goarch string, tests []badInstTest) {
    	for i, test := range tests {
    		arch, ctxt := setArch(goarch)
    		tokenizer := lex.NewTokenizer("", strings.NewReader(test.input+"\n"), nil)
    		parser := NewParser(ctxt, arch, tokenizer)
    
    		err := tryParse(t, func() {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  6. src/archive/tar/example_test.go

    func Example_minimal() {
    	// Create and add some files to the archive.
    	var buf bytes.Buffer
    	tw := tar.NewWriter(&buf)
    	var files = []struct {
    		Name, Body string
    	}{
    		{"readme.txt", "This archive contains some text files."},
    		{"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"},
    		{"todo.txt", "Get animal handling license."},
    	}
    	for _, file := range files {
    		hdr := &tar.Header{
    			Name: file.Name,
    			Mode: 0600,
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 16 16:54:08 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/loong64.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "../../../../../runtime/textflag.h"
    // TODO: cover more instruction
    
    TEXT foo(SB),DUPOK|NOSPLIT,$0
    	JAL	1(PC)	//CALL 1(PC)	//00040054
    	JAL	(R4)	//CALL (R4)	//8100004c
    	// relocation in play so the assembled offset should be 0
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 22 18:50:59 GMT 2023
    - 434 bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/parse.go

    	switch word {
    	case "TEXT":
    		// Defines text symbol in operands[0].
    		if len(operands) > 0 {
    			p.start(operands[0])
    			if name, abi, ok := p.funcAddress(); ok {
    				fmt.Fprintf(w, "def %s %s\n", name, abi)
    			}
    		}
    		return
    	case "GLOBL", "PCDATA":
    		// No text definitions or symbol references.
    	case "DATA", "FUNCDATA":
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  9. misc/chrome/gophertool/popup.js

        box.value = "";
        openURL(url);
        return false;  // cancel form submission
      };
    
      var url = urlForInput(t);
      if (url) {
        return success(url);
      }
    
      console.log("no match for text: " + t)
      return false;
    JavaScript
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Oct 21 17:05:21 GMT 2012
    - 1020 bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/avx512enc/avx512_vpopcntdq.s

    // Code generated by avx512test. DO NOT EDIT.
    
    #include "../../../../../../runtime/textflag.h"
    
    TEXT asmtest_avx512_vpopcntdq(SB), NOSPLIT, $0
    	VPOPCNTD X12, K2, X8                               // 62527d0a55c4
    	VPOPCNTD X16, K2, X8                               // 62327d0a55c0
    	VPOPCNTD X23, K2, X8                               // 62327d0a55c7
    	VPOPCNTD (R14), K2, X8                             // 62527d0a5506
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue May 22 14:57:15 GMT 2018
    - 5.5K bytes
    - Viewed (0)
Back to top