- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 41 for Getrandom (0.13 sec)
-
src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java
if (StringUtil.isNotBlank(name)) { return request.getParameter(name); } return null; } public void setRandom(final Random random) { this.random = random; }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/define_op_template.py
flags.DEFINE_bool('gen_register_op', True, 'Generate register op cc file or tfr mlir file.') flags.mark_flag_as_required('output') @Composite('TestRandom', derived_attrs=['T: numbertype'], outputs=['o: T']) def _composite_random_op(): pass def main(_): if FLAGS.gen_register_op: assert FLAGS.output.endswith('.cc')
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 1.9K bytes - Viewed (0) -
internal/store/queuestore.go
store.Lock() defer store.Unlock() if uint64(len(store.entries)) >= store.entryLimit { return errLimitExceeded } // Generate a new UUID for the key. key, err := uuid.NewRandom() if err != nil { return err } return store.multiWrite(key.String(), item) } // multiWrite - writes an item to the directory. func (store *QueueStore[I]) multiWrite(key string, item []I) error {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Mar 25 16:44:20 UTC 2024 - 7.1K bytes - Viewed (0) -
tests/integration/pilot/ingress_test.go
prefixPath: "/prefix/test", }, { // Prefix /prefix/test should NOT match /prefix/testrandom name: "http-prefix-should-not-match-path-continuation", call: echo.CallOptions{ Port: echo.Port{ Protocol: protocol.HTTP, }, HTTP: echo.HTTP{ Path: "/prefix/testrandom/", Headers: headers.New().WithHost("server").Build(), }, Check: failureChecker,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 19.5K bytes - Viewed (0) -
src/math/big/prime.go
k := nm1.trailingZeroBits() q := nat(nil).shr(nm1, k) nm3 := nat(nil).sub(nm1, natTwo) rand := rand.New(rand.NewSource(int64(n[0]))) var x, y, quotient nat nm3Len := nm3.bitLen() NextRandom: for i := 0; i < reps; i++ { if i == reps-1 && force2 { x = x.set(natTwo) } else { x = x.random(rand, nm3, nm3Len) x = x.add(x, natTwo) } y = y.expNN(x, q, n, false)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 02 14:43:52 UTC 2022 - 10.4K bytes - Viewed (0) -
src/cmd/gofmt/gofmt.go
fdSem <- true defer func() { <-fdSem }() nextRandom := func() string { return strconv.Itoa(rand.Int()) } dir, base := filepath.Split(filename) var ( bakname string f *os.File ) for { bakname = filepath.Join(dir, base+"."+nextRandom()) var err error f, err = os.OpenFile(bakname, os.O_RDWR|os.O_CREATE|os.O_EXCL, perm)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 15.1K bytes - Viewed (0) -
internal/event/target/nats.go
} else if n.Token != "" { addressURL = scheme + "://" + n.Token + "@" + n.Address.String() } else { addressURL = scheme + "://" + n.Address.String() } u, err := uuid.NewRandom() if err != nil { return nil, err } clientID := u.String() connOpts := []stan.Option{stan.NatsURL(addressURL)} if n.Streaming.MaxPubAcksInflight > 0 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 12.8K bytes - Viewed (0) -
tensorflow/cc/framework/gradient_checker.cc
std::vector<Tensor> x_datas(x_shapes.size()); for (int i = 0; i < x_shapes.size(); i++) { x_datas[i] = Tensor(xs[i].type(), x_shapes[i]); auto x_data_flat = x_datas[i].flat<X_T>(); x_data_flat.setRandom(); } // Compute gradient error. return ComputeGradientErrorInternal<X_T, Y_T, JAC_T>( scope, xs, x_shapes, ys, y_shapes, &x_datas, max_error); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 18.2K bytes - Viewed (0) -
cmd/object-api-utils.go
} // mustGetUUID - get a random UUID. func mustGetUUID() string { u, err := uuid.NewRandom() if err != nil { logger.CriticalIf(GlobalContext, err) } return u.String() } // mustGetUUIDBytes - get a random UUID as 16 bytes unencoded. func mustGetUUIDBytes() []byte { u, err := uuid.NewRandom() if err != nil { logger.CriticalIf(GlobalContext, err) } return u[:] }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 36.3K bytes - Viewed (0) -
cmd/erasure-healing_test.go
if err != nil { t.Fatal(err) } // After heal the meta file should be as expected. if !fileInfoPreHeal.Equals(fileInfoPostHeal) { t.Fatal("HealObject failed") } uuid, _ := uuid2.NewRandom() for _, drive := range fsDirs { dir := path.Join(drive, bucket, object, uuid.String()) err = os.MkdirAll(dir, os.ModePerm) if err != nil { t.Fatal(err) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 49K bytes - Viewed (0)