Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,688 for nextB (0.18 sec)

  1. src/encoding/base64/base64_test.go

    func TestDecoderIssue3577(t *testing.T) {
    	next := make(chan nextRead, 10)
    	wantErr := errors.New("my error")
    	next <- nextRead{5, nil}
    	next <- nextRead{10, wantErr}
    	next <- nextRead{0, wantErr}
    	d := NewDecoder(StdEncoding, &faultInjectReader{
    		source: "VHdhcyBicmlsbGlnLCBhbmQgdGhlIHNsaXRoeSB0b3Zlcw==", // twas brillig...
    		nextc:  next,
    	})
    	errc := make(chan error, 1)
    	go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 03 18:57:29 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  2. src/runtime/export_test.go

    	ready := new(uint32)
    	for i := 0; i < iters; i++ {
    		*ready = 0
    		next0 := (i & 1) == 0
    		next1 := (i & 2) == 0
    		runqput(p, &gs[0], next0)
    		go func() {
    			for atomic.Xadd(ready, 1); atomic.Load(ready) != 2; {
    			}
    			if runqempty(p) {
    				println("next:", next0, next1)
    				throw("queue is empty")
    			}
    			done <- true
    		}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

          items[takeIndex] = null;
          takeIndex = inc(takeIndex);
        } else {
          // slide over all others up through putIndex.
          for (; ; ) {
            int nexti = inc(i);
            if (nexti != putIndex) {
              items[i] = items[nexti];
              i = nexti;
            } else {
              items[i] = null;
              putIndex = i;
              break;
            }
          }
        }
        --count;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

          items[takeIndex] = null;
          takeIndex = inc(takeIndex);
        } else {
          // slide over all others up through putIndex.
          for (; ; ) {
            int nexti = inc(i);
            if (nexti != putIndex) {
              items[i] = items[nexti];
              i = nexti;
            } else {
              items[i] = null;
              putIndex = i;
              break;
            }
          }
        }
        --count;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  5. src/runtime/traceruntime.go

    // is simultaneously being destroyed.
    func (tl traceLocker) GoSwitch(nextg *g, destroy bool) {
    	// Emit a GoWaiting status if necessary for the unblocked goroutine.
    	w := tl.eventWriter(traceGoRunning, traceProcRunning)
    	// Careful: don't use the event writer. We never want status or in-progress events
    	// to trigger more in-progress events.
    	w.w = emitUnblockStatus(w.w, nextg, tl.gen)
    	ev := traceEvGoSwitch
    	if destroy {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  6. src/runtime/select.go

    	x := sgp.prev
    	y := sgp.next
    	if x != nil {
    		if y != nil {
    			// middle of queue
    			x.next = y
    			y.prev = x
    			sgp.next = nil
    			sgp.prev = nil
    			return
    		}
    		// end of queue
    		x.next = nil
    		q.last = x
    		sgp.prev = nil
    		return
    	}
    	if y != nil {
    		// start of queue
    		y.prev = nil
    		q.first = y
    		sgp.next = nil
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 13 21:36:04 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. src/go/printer/testdata/parser.go

    	case token.ADD, token.SUB, token.NOT, token.XOR, token.AND, token.RANGE:
    		pos, op := p.pos, p.tok
    		p.next()
    		x := p.parseUnaryExpr(false)
    		return &ast.UnaryExpr{pos, op, p.checkExpr(x)}
    
    	case token.ARROW:
    		// channel type or receive expression
    		pos := p.pos
    		p.next()
    		if p.tok == token.CHAN {
    			p.next()
    			value := p.parseType()
    			return &ast.ChanType{pos, ast.RECV, value}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  8. src/internal/trace/order.go

    	}
    	// Update the state of the next goroutine.
    	nextGState.status = go122.GoRunning
    	nextGState.seq = seq
    	newCtx := curCtx
    	newCtx.G = nextg
    
    	// Queue an event for the next goroutine starting to run.
    	startCtx := curCtx
    	startCtx.G = NoGoroutine
    	o.queue.push(makeEvent(evt, startCtx, go122.EvGoStart, ev.time, uint64(nextg), ev.args[1]))
    	return newCtx, true, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  9. src/go/parser/parser.go

    				typ = p.parseType()
    			}
    		}
    	case token.MUL:
    		star := p.pos
    		p.next()
    		if p.tok == token.LPAREN {
    			// *(T)
    			p.error(p.pos, "cannot parenthesize embedded type")
    			p.next()
    			typ = p.parseQualifiedIdent(nil)
    			// expect closing ')' but no need to complain if missing
    			if p.tok == token.RPAREN {
    				p.next()
    			}
    		} else {
    			// *T
    			typ = p.parseQualifiedIdent(nil)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  10. src/internal/bytealg/index_ppc64x.s

    index2to16loop:
    
    #ifdef GOPPC64_power10
    	LXVLL  R7, R14, V8          // Load next 16 bytes of string  from Base
    	LXVLL  R10, R14, V9         // Load next 16 bytes of string from Base+1
    	LXVLL  R8, R14, V11         // Load next 16 bytes of string from Base+2
    	LXVLL  R17,R14, V12         // Load next 16 bytes of string  from Base+3
    #else
    	LXVB16X  (R7)(R0), V1       // Load next 16 bytes of string into V1 from R7
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:47:45 UTC 2023
    - 31.6K bytes
    - Viewed (0)
Back to top