Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 76 for GOTO (0.04 sec)

  1. internal/grid/muxclient.go

    				}
    				m.respMu.Unlock()
    			case <-m.ctx.Done():
    				// Client canceled. Don't block.
    				// Next loop will catch it.
    			case <-pingTimer:
    				if !m.doPing(respHandler) {
    					return
    				}
    				goto sendResp
    			}
    		case <-pingTimer:
    			if !m.doPing(respHandler) {
    				return
    			}
    		}
    	}
    }
    
    // doPing checks last ping time and sends another ping.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. internal/logger/target/http/http.go

    				fmt.Errorf("unable to send webhook log entry to '%s' err '%w'", name, err),
    				name,
    			)
    
    			if errors.Is(err, context.Canceled) {
    				return
    			}
    
    			time.Sleep(3 * time.Second)
    			goto retry
    		}
    
    		entries = make([]interface{}, 0)
    
    		if !isDirQueue {
    			buf.Reset()
    		}
    
    		if !mainWorker && len(h.logCh) < cap(h.logCh)/2 {
    			if time.Since(h.lastStarted).Seconds() > 30 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jun 02 03:03:39 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. src/go/internal/gcimporter/gcimporter.go

    				filename, err = lookupGorootExport(bp.Dir)
    				if err == nil {
    					_, err = os.Stat(filename)
    				}
    				if err == nil {
    					return filename, bp.ImportPath, nil
    				}
    			}
    			goto notfound
    		} else {
    			noext = strings.TrimSuffix(bp.PkgObj, ".a")
    		}
    		id = bp.ImportPath
    
    	case build.IsLocalImport(path):
    		// "./x" -> "/this/directory/x.ext", "/this/directory/x"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. scan.go

    					elem = reflectValue.Index(int(db.RowsAffected))
    					if onConflictDonothing {
    						for _, field := range fields {
    							if _, ok := field.ValueOf(db.Statement.Context, elem); !ok {
    								db.RowsAffected++
    								goto BEGIN
    							}
    						}
    					}
    				} else {
    					elem = reflect.New(reflectValueType)
    				}
    
    				db.scanIntoStruct(rows, elem, values, fields, joinFields)
    
    				if !update {
    					if !isPtr {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. cmd/iam-object-store.go

    		if err != nil {
    			if err == errConfigNotFound {
    				return errNoSuchPolicy
    			}
    			retries--
    			if retries <= 0 {
    				return err
    			}
    			time.Sleep(500 * time.Millisecond)
    			goto retry
    		}
    
    		var p PolicyDoc
    		err = p.parseJSON(data)
    		if err != nil {
    			return err
    		}
    
    		if p.Version == 0 {
    			// This means that policy was in the old version (without any
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/mod/modfile/work.go

    		i := 0
    		for i = 0; i < len(f.Syntax.Stmt); i++ {
    			if line, ok := f.Syntax.Stmt[i].(*Line); ok && len(line.Token) > 0 && line.Token[0] == "go" {
    				i++
    				goto Found
    			}
    		}
    		for i = 0; i < len(f.Syntax.Stmt); i++ {
    			if _, ok := f.Syntax.Stmt[i].(*CommentBlock); !ok {
    				break
    			}
    		}
    	Found:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go

    	//
    	// Example:
    	//  func f() int {
    	//  	goto L
    	//  	x := 2
    	//  L:
    	//  	x++
    	//  	return x
    	//  }
    	JumpOverDecl
    
    	// JumpIntoBlock occurs when a forward jump goes to a label inside a nested
    	// block.
    	//
    	// Example:
    	//  func f(x int) {
    	//  	goto L
    	//  	if x > 0 {
    	//  	L:
    	//  		print("inside block")
    	//  	}
    	// }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 34K bytes
    - Viewed (0)
  8. src/math/rand/rand.go

    	// Instead of that, if we round up to 1, just try again.
    	// Getting 1 only happens 1/2⁵³ of the time, so most clients
    	// will not observe it anyway.
    again:
    	f := float64(r.Int63()) / (1 << 63)
    	if f == 1 {
    		goto again // resample; this branch is taken O(never)
    	}
    	return f
    }
    
    // Float32 returns, as a float32, a pseudo-random number in the half-open interval [0.0,1.0).
    func (r *Rand) Float32() float32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. cmd/sftp-server-driver.go

    		w.nextOffset += int64(n)
    		if n != len(nextOut) {
    			return 0, fmt.Errorf("expected write size %d but wrote %d bytes", len(nextOut), n)
    		}
    		if err != nil {
    			return 0, err
    		}
    		goto again
    	}
    
    	return len(b), nil
    }
    
    func (f *sftpDriver) Filewrite(r *sftp.Request) (w io.WriterAt, err error) {
    	stopFn := globalSftpMetrics.log(r, f.AccessKey())
    	defer func() {
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. src/runtime/proc.go

    		unlock(&sched.lock)
    		goto top
    	}
    	if sched.runqsize != 0 {
    		gp := globrunqget(pp, 0)
    		unlock(&sched.lock)
    		return gp, false, false
    	}
    	if !mp.spinning && sched.needspinning.Load() == 1 {
    		// See "Delicate dance" comment below.
    		mp.becomeSpinning()
    		unlock(&sched.lock)
    		goto top
    	}
    	if releasep() != pp {
    		throw("findrunnable: wrong p")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top