Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Ford (0.2 sec)

  1. src/bufio/scan_test.go

    }
    
    func TestScanWordsExcessiveWhiteSpace(t *testing.T) {
    	const word = "ipsum"
    	s := strings.Repeat(" ", 4*smallMaxTokenSize) + word
    	scanner := NewScanner(strings.NewReader(s))
    	scanner.MaxTokenSize(smallMaxTokenSize)
    	scanner.Split(ScanWords)
    	if !scanner.Scan() {
    		t.Fatalf("scan failed: %v", scanner.Err())
    	}
    	if token := scanner.Text(); token != word {
    		t.Fatalf("unexpected token: %v", token)
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/arch/arm64.go

    	"TBNZ":  true,
    	"TBZ":   true,
    
    	// ADR isn't really a jump, but it takes a PC or label reference,
    	// which needs to patched like a jump.
    	"ADR":  true,
    	"ADRP": true,
    }
    
    func jumpArm64(word string) bool {
    	return arm64Jump[word]
    }
    
    var arm64SpecialOperand map[string]arm64.SpecialOperand
    
    // GetARM64SpecialOperand returns the internal representation of a special operand.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/arch/arm.go

    	"BVS":  true,
    	"BVC":  true,
    	"BHI":  true,
    	"BLS":  true,
    	"BGE":  true,
    	"BLT":  true,
    	"BGT":  true,
    	"BLE":  true,
    	"CALL": true,
    	"JMP":  true,
    }
    
    func jumpArm(word string) bool {
    	return armJump[word]
    }
    
    // IsARMCMP reports whether the op (as defined by an arm.A* constant) is
    // one of the comparison instructions that require special handling.
    func IsARMCMP(op obj.As) bool {
    	switch op {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Nov 18 17:59:44 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/arch/loong64.go

    // Loong64 (LoongArch64) instruction set, to minimize its interaction
    // with the core of the assembler.
    
    package arch
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/obj/loong64"
    )
    
    func jumpLoong64(word string) bool {
    	switch word {
    	case "BEQ", "BFPF", "BFPT", "BLTZ", "BGEZ", "BLEZ", "BGTZ", "BLT", "BLTU", "JIRL", "BNE", "BGE", "BGEU", "JMP", "JAL", "CALL":
    		return true
    	}
    	return false
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 06 13:49:53 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/arch/ppc64.go

    // 64-bit PowerPC (PPC64) instruction set, to minimize its interaction
    // with the core of the assembler.
    
    package arch
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/obj/ppc64"
    )
    
    func jumpPPC64(word string) bool {
    	switch word {
    	case "BC", "BCL", "BEQ", "BGE", "BGT", "BL", "BLE", "BLT", "BNE", "BR", "BVC", "BVS", "BDNZ", "BDZ", "CALL", "JMP":
    		return true
    	}
    	return false
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Sep 07 20:53:33 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  6. internal/s3select/select_test.go

    3`,
    		},
    		{
    			name:  "Select reserved word column",
    			query: `select "CAST"  from s3object`,
    			wantResult: `true
    false`,
    		},
    		{
    			name:  "Select reserved word column with table alias",
    			query: `select S3Object."CAST" from s3object`,
    			wantResult: `true
    false`,
    		},
    		{
    			name:  "Select reserved word column with unused table alias",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  7. cmd/metacache-entries_test.go

    			want:     false,
    		},
    		{
    			testName: "root-dir",
    			entry:    "doc/",
    			dir:      "",
    			sep:      slashSeparator,
    			want:     true,
    		},
    		{
    			testName: "root-file",
    			entry:    "word.doc",
    			dir:      "",
    			sep:      slashSeparator,
    			want:     true,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.testName, func(t *testing.T) {
    			e := metaCacheEntry{
    				name: tt.entry,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 31.6K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/parse.go

    	scratch := make([][]lex.Token, 0, 3)
    	for {
    		word, cond, operands, ok := p.line(scratch)
    		if !ok {
    			break
    		}
    		scratch = operands
    
    		if p.pseudo(word, operands) {
    			continue
    		}
    		i, present := p.arch.Instructions[word]
    		if present {
    			p.instruction(i, word, cond, operands)
    			continue
    		}
    		p.errorf("unrecognized instruction %q", word)
    	}
    	if p.errorCount > 0 {
    		return nil, false
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  9. internal/s3select/sql/parser_test.go

    		&Select{},
    		participle.Lexer(sqlLexer),
    		participle.CaseInsensitive("Keyword"),
    	)
    
    	s := Select{}
    	cases := []string{
    		"select * from s3object where name > 2 or value > 1 or word > 2",
    		"select s.word.id + 2 from s3object s",
    		"select 1-2-3 from s3object s limit 1",
    	}
    	for i, tc := range cases {
    		err := p.ParseString(tc, &s)
    		if err != nil {
    			t.Fatalf("%d: %v", i, err)
    		}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  10. src/bytes/bytes.go

    // asciiSet is a 32-byte value, where each bit represents the presence of a
    // given ASCII character in the set. The 128-bits of the lower 16 bytes,
    // starting with the least-significant bit of the lowest word to the
    // most-significant bit of the highest word, map to the full range of all
    // 128 ASCII characters. The 128-bits of the upper 16 bytes will be zeroed,
    // ensuring that any non-ASCII character will be reported as not in the set.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
Back to top