Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 64 for goTo (0.57 sec)

  1. src/runtime/mfinal.go

    	switch {
    	case fint == etyp:
    		// ok - same type
    		goto okarg
    	case fint.Kind_&abi.KindMask == abi.Pointer:
    		if (fint.Uncommon() == nil || etyp.Uncommon() == nil) && (*ptrtype)(unsafe.Pointer(fint)).Elem == ot.Elem {
    			// ok - not same type, but both pointers,
    			// one or the other is unnamed, and same element type, so assignable.
    			goto okarg
    		}
    	case fint.Kind_&abi.KindMask == abi.Interface:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/security.go

    Args:
    	for i := 0; i < len(list); i++ {
    		arg := list[i]
    		if disallow != nil && disallow.FindString(arg) == arg {
    			goto Bad
    		}
    		if allow != nil && allow.FindString(arg) == arg {
    			continue Args
    		}
    		for _, re := range invalid {
    			if re.FindString(arg) == arg { // must be complete match
    				goto Bad
    			}
    		}
    		for _, re := range valid {
    			if re.FindString(arg) == arg { // must be complete match
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. cmd/iam-etcd-store.go

    						// Upon an error on watch channel
    						// re-init the watch channel.
    						goto outerLoop
    					}
    					if err := watchResp.Err(); err != nil {
    						iamLogIf(ctx, err)
    						// log and retry.
    						time.Sleep(1 * time.Second)
    						// Upon an error on watch channel
    						// re-init the watch channel.
    						goto outerLoop
    					}
    					for _, event := range watchResp.Events {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top