Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Condition (0.15 sec)

  1. src/cmd/asm/internal/arch/arm.go

    		bits = (bits &^ 0xf) | arm.C_SCOND_NONE
    	}
    	prog.Scond = bits
    	return true
    }
    
    // ParseARMCondition parses the conditions attached to an ARM instruction.
    // The input is a single string consisting of period-separated condition
    // codes, such as ".P.W". An initial period is ignored.
    func ParseARMCondition(cond string) (uint8, bool) {
    	return parseARMCondition(cond, armLS, armSCOND)
    }
    
    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)
  2. src/builtin/builtin.go

    // to stay in the language.
    func println(args ...Type)
    
    // The error built-in interface type is the conventional interface for
    // representing an error condition, with the nil value representing no error.
    type error interface {
    	Error() string
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. src/archive/tar/writer.go

    	f.formatOctal(v7.gid(), 0)
    	f.formatOctal(v7.size(), int64(len(data))) // Must be < 8GiB
    	f.formatOctal(v7.modTime(), 0)
    	tw.blk.setFormat(format)
    	if f.err != nil {
    		return f.err // Only occurs if size condition is violated
    	}
    
    	// Write the header and data.
    	if err := tw.writeRawHeader(&tw.blk, int64(len(data)), flag); err != nil {
    		return err
    	}
    	_, err := io.WriteString(tw, data)
    	return err
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/asm.go

    func (p *Parser) append(prog *obj.Prog, cond string, doLabel bool) {
    	if cond != "" {
    		switch p.arch.Family {
    		case sys.ARM:
    			if !arch.ARMConditionCodes(prog, cond) {
    				p.errorf("unrecognized condition code .%q", cond)
    				return
    			}
    
    		case sys.ARM64:
    			if !arch.ARM64Suffix(prog, cond) {
    				p.errorf("unrecognized suffix .%q", cond)
    				return
    			}
    
    		case sys.AMD64, sys.I386:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  5. src/archive/tar/reader_test.go

    type readSeeker struct{ io.ReadSeeker }
    type readBadSeeker struct{ io.ReadSeeker }
    
    func (rbs *readBadSeeker) Seek(int64, int) (int64, error) { return 0, fmt.Errorf("illegal seek") }
    
    // TestReadTruncation test the ending condition on various truncated files and
    // that truncated files are still detected even if the underlying io.Reader
    // satisfies io.Seeker.
    func TestReadTruncation(t *testing.T) {
    	var ss []string
    	for _, p := range []string{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/arch/arm64.go

    	if !ok {
    		return false
    	}
    	prog.Scond = bits
    	return true
    }
    
    // parseARM64Suffix parses the suffix attached to an ARM64 instruction.
    // The input is a single string consisting of period-separated condition
    // codes, such as ".P.W". An initial period is ignored.
    func parseARM64Suffix(cond string) (uint8, bool) {
    	if cond == "" {
    		return 0, true
    	}
    	return parseARMCondition(cond, arm64LS, nil)
    }
    
    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)
  7. src/archive/tar/reader.go

    	if p.err != nil {
    		return nil, p.err
    	}
    	s := blk.toGNU().sparse()
    	spd := make(sparseDatas, 0, s.maxEntries())
    	for {
    		for i := 0; i < s.maxEntries(); i++ {
    			// This termination condition is identical to GNU and BSD tar.
    			if s.entry(i).offset()[0] == 0x00 {
    				break // Don't return, need to process extended headers (even if empty)
    			}
    			offset := p.parseNumeric(s.entry(i).offset())
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top