Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for foo (0.22 sec)

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

    //	{
    //		outcode(int($1), &nullgen, 0, &nullgen);
    //	}
    	SYSCALL
    	BEQ	R1, 2(PC)
    	RET
    
    
    // More JMP/JAL cases, and canonical names JMP, CALL.
    
    	JAL	foo(SB) // CALL foo(SB)
    	BEQ	R1, 2(PC)
    	JMP	foo(SB)
    	CALL	foo(SB)
    	RET	foo(SB)
    
    	// unary operation
    	NEGW	R1, R2 // 00011023
    	NEGV	R1, R2 // 0001102f
    
    	WSBH	R1, R2 // 7c0110a0
    	DSBH	R1, R2 // 7c0110a4
    	DSHD	R1, R2 // 7c011164
    
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 08 12:17:12 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/pseudo_test.go

    		{"TEXT", "$\"foo\", 0, $1", "TEXT symbol \"<erroneous symbol>\" must be a symbol(SB)"},
    		{"TEXT", "$0É:0, 0, $1", "expected end of operand, found É"}, // Issue #12467.
    		{"TEXT", "$:0:(SB, 0, $1", "expected '(', found 0"},          // Issue 12468.
    		{"TEXT", "@B(SB),0,$0", "expected '(', found B"},             // Issue 23580.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/doc.go

    An error on not-declared:1 indicates that foo is undeclared.
    An error on not-type:1 indicates that foo is not a type (if declared at all, it is an identifier).
    An error on not-int-const:1 indicates that foo is not an integer constant.
    An error on not-num-const:1 indicates that foo is not a number constant.
    An error on not-str-lit:1 indicates that foo is not a string literal.
    An error on not-signed-int-const:1 indicates that foo is not a signed integer constant.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  4. src/archive/zip/reader_test.go

    		// See golang.org/issue/34986
    		Name:     "go-no-datadesc-sig.zip.base64",
    		Obscured: true,
    		File: []ZipTestFile{
    			{
    				Name:     "foo.txt",
    				Content:  []byte("foo\n"),
    				Modified: time.Date(2012, 3, 8, 16, 59, 10, 0, timeZone(-8*time.Hour)),
    				Mode:     0644,
    			},
    			{
    				Name:     "bar.txt",
    				Content:  []byte("bar\n"),
    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)
  5. src/cmd/asm/internal/asm/testdata/s390x.s

    	VSUMB	V7, V8, V9              // e79780000064
    	VSUMH	V22, V23, V24           // e78670001e64
    
    	RET
    	RET	foo(SB)
    
    TEXT main·init(SB),DUPOK|NOSPLIT,$0 // TEXT main.init(SB), DUPOK|NOSPLIT, $0
    	RET
    
    TEXT main·main(SB),DUPOK|NOSPLIT,$0 // TEXT main.main(SB), DUPOK|NOSPLIT, $0
    	BL      main·foo(SB)    // CALL main.foo(SB)
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Nov 22 03:55:32 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  6. src/cmd/api/api_test.go

    		}
    	}
    }
    
    func TestSkipInternal(t *testing.T) {
    	tests := []struct {
    		pkg  string
    		want bool
    	}{
    		{"net/http", true},
    		{"net/http/internal-foo", true},
    		{"net/http/internal", false},
    		{"net/http/internal/bar", false},
    		{"internal/foo", false},
    		{"internal", false},
    	}
    	for _, tt := range tests {
    		got := !internalPkg.MatchString(tt.pkg)
    		if got != tt.want {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 17:31:12 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/operand_test.go

    	{"[X0,X1,X2,X3]", "register list: expected '-' after `[X0`, found ','"},
    	{"$foo<ABI0>", "ABI selector only permitted when compiling runtime, reference was to \"foo\""},
    }
    
    var amd64BadOperandRuntimeTests = []badOperandTest{
    	{"$foo<bletch>", "malformed ABI selector \"bletch\" in reference to \"foo\""},
    }
    
    var x86OperandTests = []operandTest{
    	{"$(2.928932188134524e-01)", "$(0.29289321881345243)"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue24161e0/main.go

      static CFDataRef SecKeyCreateSignature(SecKeyRef key, SecKeyAlgorithm algorithm, CFDataRef dataToSign, CFErrorRef *error){return NULL;}
      #define kSecKeyAlgorithmECDSASignatureDigestX962SHA1 foo()
      static SecKeyAlgorithm foo(void){return NULL;}
    #endif
    */
    import "C"
    import "testing"
    
    func f1() {
    	C.SecKeyCreateSignature(0, C.kSecKeyAlgorithmECDSASignatureDigestX962SHA1, 0, nil)
    }
    
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 919 bytes
    - Viewed (0)
  9. src/bytes/buffer_test.go

    	err      error
    }{
    	{"", 0, []string{""}, io.EOF},
    	{"a\x00", 0, []string{"a\x00"}, nil},
    	{"abbbaaaba", 'b', []string{"ab", "b", "b", "aaab"}, nil},
    	{"hello\x01world", 1, []string{"hello\x01"}, nil},
    	{"foo\nbar", 0, []string{"foo\nbar"}, io.EOF},
    	{"alpha\nbeta\ngamma\n", '\n', []string{"alpha\n", "beta\n", "gamma\n"}, nil},
    	{"alpha\nbeta\ngamma", '\n', []string{"alpha\n", "beta\n", "gamma"}, io.EOF},
    }
    
    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)
  10. src/cmd/cgo/internal/test/issue24161e2/main.go

      static CFDataRef SecKeyCreateSignature(SecKeyRef key, SecKeyAlgorithm algorithm, CFDataRef dataToSign, CFErrorRef *error){return NULL;}
      #define kSecKeyAlgorithmECDSASignatureDigestX962SHA1 foo()
      static SecKeyAlgorithm foo(void){return NULL;}
    #endif
    */
    import "C"
    import (
    	"fmt"
    	"testing"
    )
    
    var _ C.CFStringRef
    
    func f1() {
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1K bytes
    - Viewed (1)
Back to top