Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for vand (3.34 sec)

  1. src/math/rand/rand.go

    	readPos int8
    }
    
    // New returns a new [Rand] that uses random values from src
    // to generate other random values.
    func New(src Source) *Rand {
    	s64, _ := src.(Source64)
    	return &Rand{src: src, s64: s64}
    }
    
    // Seed uses the provided seed value to initialize the generator to a deterministic state.
    // Seed should not be called concurrently with any other [Rand] method.
    func (r *Rand) Seed(seed int64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. src/math/rand/v2/rand.go

    type Source interface {
    	Uint64() uint64
    }
    
    // A Rand is a source of random numbers.
    type Rand struct {
    	src Source
    }
    
    // New returns a new Rand that uses random values from src
    // to generate other random values.
    func New(src Source) *Rand {
    	return &Rand{src: src}
    }
    
    // Int64 returns a non-negative pseudo-random 63-bit integer as an int64.
    func (r *Rand) Int64() int64 { return int64(r.src.Uint64() &^ (1 << 63)) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. src/internal/trace/gc.go

    	// bandDur.
    	bands []mmuBand
    	// bandDur is the duration of each band.
    	bandDur int64
    }
    
    type mmuBand struct {
    	// minUtil is the minimum instantaneous mutator utilization in
    	// this band.
    	minUtil float64
    	// cumUtil is the cumulative total mutator utilization between
    	// time 0 and the left edge of this band.
    	cumUtil totalUtil
    
    	// integrator is the integrator for the left edge of this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    		}
    		pkgName := t.Obj().Pkg().Name()
    
    		// If the file already imports the package under another name, use that.
    		for _, cand := range f.Imports {
    			if path, _ := strconv.Unquote(cand.Path.Value); path == t.Obj().Pkg().Path() {
    				if cand.Name != nil && cand.Name.Name != "" {
    					pkgName = cand.Name.Name
    				}
    			}
    		}
    		if pkgName == "." {
    			return ast.NewIdent(t.Obj().Name())
    		}
    		return &ast.SelectorExpr{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. internal/dsync/drwmutex.go

    // Indicator if logging is enabled.
    var dsyncLog bool
    
    // Retry unit interval
    var lockRetryMinInterval time.Duration
    
    var lockRetryBackOff func(*rand.Rand, uint) time.Duration
    
    func init() {
    	// Check for MINIO_DSYNC_TRACE env variable, if set logging will be enabled for failed REST operations.
    	dsyncLog = env.Get("_MINIO_DSYNC_TRACE", "0") == "1"
    
    	lockRetryMinInterval = 250 * time.Millisecond
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  6. src/crypto/tls/handshake_client.go

    		}
    		hello.cipherSuites = append(hello.cipherSuites, suiteId)
    	}
    
    	_, err := io.ReadFull(config.rand(), hello.random)
    	if err != nil {
    		return nil, nil, nil, errors.New("tls: short read from Rand: " + err.Error())
    	}
    
    	// A random session ID is used to detect when the server accepted a ticket
    	// and is resuming a session (see RFC 5077). In TLS 1.3, it's always set as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  7. src/crypto/tls/quic.go

    	// Set for QUICSetReadSecret, QUICSetWriteSecret, and QUICWriteData.
    	Level QUICEncryptionLevel
    
    	// Set for QUICTransportParameters, QUICSetReadSecret, QUICSetWriteSecret, and QUICWriteData.
    	// The contents are owned by crypto/tls, and are valid until the next NextEvent call.
    	Data []byte
    
    	// Set for QUICSetReadSecret and QUICSetWriteSecret.
    	Suite uint16
    
    	// Set for QUICResumeSession and QUICStoreSession.
    	SessionState *SessionState
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    		res[n] = pl
    		for _, port := range svc.Ports {
    			targetPort := port.TargetPort
    			// The svc.Ports represents the workloadapi.Service, which drops the port name info and just has numeric target Port.
    			// TargetPort can be 0 which indicates its a named port. Check if its a named port and replace with the real targetPort if so.
    			if named, f := svc.PortNames[int32(port.ServicePort)]; f && named.TargetPortName != "" {
    				// Pods only match on TargetPort names
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  9. doc/godebug.md

    [`math/rand`](/pkg/math/rand) global random number generator,
    controlled by the [`randautoseed` setting](/pkg/math/rand/#Seed).
    
    Go 1.20 introduced the concept of fallback roots for use during certificate verification,
    controlled by the [`x509usefallbackroots` setting](/pkg/crypto/x509/#SetFallbackRoots).
    
    Go 1.20 removed the preinstalled `.a` files for the standard library
    from the Go distribution.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                        withPsiEntry("parent", parent)
                    }
            }
        }
    }
    
    /**
     *  The left hand side of a `::` is regarded as used unless it refers to a type.
     *  We decide that the LHS is a type reference by checking if the left hand
     *  side is a (qualified) name, and, in case it _is_, resolving that name.
     *
     *  If it resolves to a non-class declaration, it does _not_ refer to a type.
     */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top