Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 630 for prand (1.46 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package proxy
    
    import (
    	"bytes"
    	"context"
    	"crypto/rand"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"math"
    	mrand "math/rand"
    	"net/http"
    	"net/http/httptest"
    	"net/url"
    	"reflect"
    	"strings"
    	"testing"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 23:21:55 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  2. src/compress/flate/testdata/huffman-rand-1k.golden

    Klaus Post <******@****.***> 1457448890 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 1005 bytes
    - Viewed (0)
  3. src/compress/flate/testdata/huffman-rand-1k.in

    Klaus Post <******@****.***> 1457448890 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 1000 bytes
    - Viewed (0)
  4. src/compress/flate/testdata/huffman-rand-1k.dyn.expect

    Klaus Post <******@****.***> 1460282413 +0200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 18 02:30:46 UTC 2016
    - 1005 bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_messages_test.go

    		panic("rand.Read failed: " + err.Error())
    	}
    	return r
    }
    
    func randomString(n int, rand *rand.Rand) string {
    	b := randomBytes(n, rand)
    	return string(b)
    }
    
    func (*clientHelloMsg) Generate(rand *rand.Rand, size int) reflect.Value {
    	m := &clientHelloMsg{}
    	m.vers = uint16(rand.Intn(65536))
    	m.random = randomBytes(32, rand)
    	m.sessionId = randomBytes(rand.Intn(32), rand)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. src/compress/flate/testdata/huffman-rand-1k.dyn.expect-noinput

    Klaus Post <******@****.***> 1457448890 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 1K bytes
    - Viewed (0)
  7. src/testing/quick/quick.go

    	Values func([]reflect.Value, *rand.Rand)
    }
    
    var defaultConfig Config
    
    // getRand returns the *rand.Rand to use for a given Config.
    func (c *Config) getRand() *rand.Rand {
    	if c.Rand == nil {
    		return rand.New(rand.NewSource(time.Now().UnixNano()))
    	}
    	return c.Rand
    }
    
    // getMaxCount returns the maximum number of iterations to run for a given
    // Config.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.cc

                rand_val = mlir::IntegerAttr::get(element_type, std::rand());
              } else if (element_type.isF16() || element_type.isF32() ||
                         element_type.isF64()) {
                rand_val = mlir::FloatAttr::get(element_type,
                                                std::rand() * 1.0 / RAND_MAX);
    
              } else {
                inst.emitWarning()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 11:51:44 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginMultiProjectTest.groovy

            settingsFile << "include 'child:grand'"
            file('child/grand/build.gradle') << javaProjectUsingCheckstyle()
            file('child/grand/src/main/java/Dummy.java') << javaClassWithNewLineAtEnd()
            file('config/checkstyle/checkstyle.xml') << simpleCheckStyleConfig()
    
            expect:
            succeeds(':child:grand:checkstyleMain')
            checkStyleReportFile(file('child/grand')).assertExists()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 13:39:06 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. api/go1.22.txt

    pkg math/rand/v2, method (*Rand) Int32() int32 #61716
    pkg math/rand/v2, method (*Rand) Int32N(int32) int32 #61716
    pkg math/rand/v2, method (*Rand) Int64() int64 #61716
    pkg math/rand/v2, method (*Rand) Int64N(int64) int64 #61716
    pkg math/rand/v2, method (*Rand) IntN(int) int #61716
    pkg math/rand/v2, method (*Rand) NormFloat64() float64 #61716
    pkg math/rand/v2, method (*Rand) Perm(int) []int #61716
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 20:54:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top