Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for france (0.16 sec)

  1. src/bufio/scan.go

    	}
    	s.scanCalled = true
    	// Loop until we have a token.
    	for {
    		// See if we can get a token with what we already have.
    		// If we've run out of data but have an error, give the split function
    		// a chance to recover any remaining, possibly empty token.
    		if s.end > s.start || s.err != nil {
    			advance, token, err := s.split(s.buf[s.start:s.end], s.err != nil)
    			if err != nil {
    				if err == ErrFinalToken {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    	}
    	switch reg {
    	case "FP":
    		addr.Name = obj.NAME_PARAM
    	case "PC":
    		if prefix != 0 {
    			p.errorf("illegal addressing mode for PC")
    		}
    		addr.Type = obj.TYPE_BRANCH // We set the type and leave NAME untouched. See asmJump.
    	case "SB":
    		addr.Name = obj.NAME_EXTERN
    		if isStatic {
    			addr.Name = obj.NAME_STATIC
    		}
    	case "SP":
    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)
  3. src/cmd/asm/internal/asm/asm.go

    }
    
    func (p *Parser) patch() {
    	for _, patch := range p.toPatch {
    		targetProg := p.labels[patch.label]
    		if targetProg == nil {
    			p.errorf("undefined label %s", patch.label)
    			return
    		}
    		p.branch(patch.addr, targetProg)
    	}
    	p.toPatch = p.toPatch[:0]
    }
    
    func (p *Parser) branch(addr *obj.Addr, target *obj.Prog) {
    	*addr = obj.Addr{
    		Type:  obj.TYPE_BRANCH,
    		Index: 0,
    	}
    	addr.Val = target
    }
    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)
  4. src/cmd/cgo/internal/test/cgo_thread_lock.go

    }
    
    func init() {
    	testThreadLockFunc = testThreadLock
    }
    
    func testThreadLock(t *testing.T) {
    	stop := make(chan int)
    	go func() {
    		// We need the G continue running,
    		// so the M has a chance to run this G.
    		for {
    			select {
    			case <-stop:
    				return
    			case <-time.After(time.Millisecond * 100):
    			}
    		}
    	}()
    	defer close(stop)
    
    	for i := 0; i < 1000; i++ {
    		if !C.Ctid() {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu May 18 16:55:07 GMT 2023
    - 939 bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/endtoend_test.go

    		if codeHex == "" {
    			codeHex = "empty"
    		}
    		ok := false
    		for _, hex := range strings.Split(hexes, " or ") {
    			if codeHex == hex {
    				ok = true
    				break
    			}
    		}
    		if !ok {
    			t.Errorf("%s: have encoding %s, want %s", p, codeHex, hexes)
    		}
    	}
    
    	if len(hexByLine) > 0 {
    		var missing []string
    		for key := range hexByLine {
    			missing = append(missing, key)
    		}
    		sort.Strings(missing)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
Back to top