- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for ORD (0.03 sec)
-
test/typeparam/issue50485.dir/a.go
} func OrdOption[T any](m Ord[T]) Ord[Option[T]] { return LessFunc[Option[T]](func(t1 Option[T], t2 Option[T]) bool { if !t1.IsDefined() && !t2.IsDefined() { return false } return Applicative2(m.Less).ApOption(t1).ApOption(t2).OrElse(!t1.IsDefined()) }) } func Given[T ImplicitOrd]() Ord[T] { return LessGiven[T]()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 4.4K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_test.go
return err } ord := len(pods) - 1 if pods, err = om.setPodPending(set, ord); err != nil { return err } pod := getPodAtOrdinal(pods, ord) ssc.addPod(logger, pod) fakeWorker(ssc) pod = getPodAtOrdinal(pods, ord) prev := *pod if pods, err = om.setPodRunning(set, ord); err != nil { return err } pod = getPodAtOrdinal(pods, ord) ssc.updatePod(logger, &prev, pod)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 33.1K bytes - Viewed (0) -
src/syscall/dirent_test.go
if len(names) != 10 { t.Errorf("got %d names; expected 10", len(names)) } for i, name := range names { ord, err := strconv.Atoi(name[:1]) if err != nil { t.Fatalf("names[%d] is non-integer %q: %v", i, names[i], err) } if expected := strings.Repeat(name[:1], filenameMinSize+ord); name != expected { t.Errorf("names[%d] is %q (len %d); expected %q (len %d)", i, name, len(name), expected, len(expected)) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
Number n, Iterable<?> it, boolean b, Equivalence<String> eq, Exception e, InputStream in, Comparable<?> c, Ordering<Integer> ord, Charset charset, TimeUnit unit, Class<?> cls, Joiner joiner, Pattern pattern, UnsignedInteger ui, UnsignedLong ul, StringBuilder sb,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 15.7K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
Number n, Iterable<?> it, boolean b, Equivalence<String> eq, Exception e, InputStream in, Comparable<?> c, Ordering<Integer> ord, Charset charset, TimeUnit unit, Class<?> cls, Joiner joiner, Pattern pattern, UnsignedInteger ui, UnsignedLong ul, StringBuilder sb,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 15.7K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_control.go
condemned = append(condemned, pod) } // If the ordinal could not be parsed (ord < 0), ignore the Pod. } // for any empty indices in the sequence [0,set.Spec.Replicas) create a new Pod at the correct revision for ord := getStartOrdinal(set); ord <= getEndOrdinal(set); ord++ { replicaIdx := ord - getStartOrdinal(set) if replicas[replicaIdx] == nil { replicas[replicaIdx] = newVersionedStatefulSetPod(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:03:46 UTC 2024 - 30.9K bytes - Viewed (0) -
src/crypto/internal/nistec/p256_asm.go
// p256OrdElement is a P-256 scalar field element in [0, ord(G)-1] in the // Montgomery domain (with R 2²⁵⁶) as four uint64 limbs in little-endian order. type p256OrdElement [4]uint64 // p256OrdReduce ensures s is in the range [0, ord(G)-1]. func p256OrdReduce(s *p256OrdElement) { // Since 2 * ord(G) > 2²⁵⁶, we can just conditionally subtract ord(G), // keeping the result if it doesn't underflow.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 21.4K bytes - Viewed (0) -
src/crypto/ecdh/ecdh_test.go
k, err := curve.GenerateKey(r) if err != nil { t.Fatal(err) } // GenerateKey does rejection sampling. If the masking works correctly, // the probability of a rejection is 1-ord(G)/2^ceil(log2(ord(G))), // which for all curves is small enough (at most 2^-32, for P-256) that // a bit flip is more likely to make this test fail than bad luck. // Account for the extra MaybeReadByte byte, too.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 18:23:49 UTC 2024 - 18K bytes - Viewed (0) -
docs/pt/docs/tutorial/path-params-numeric-validations.md
O Python não vai fazer nada com esse `*`, mas ele vai saber que a partir dali os parâmetros seguintes deverão ser chamados argumentos nomeados (pares chave-valor), também conhecidos como <abbr title="Do inglês: K-ey W-ord Arg-uments"><code>kwargs</code></abbr>. Mesmo que eles não possuam um valor padrão. ```Python hl_lines="7" {!../../../docs_src/path_params_numeric_validations/tutorial003.py!} ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Oct 17 05:59:11 UTC 2023 - 5.6K bytes - Viewed (0) -
src/go/constant/value.go
// or invalid (say, nil) both results are that value. func match(x, y Value) (_, _ Value) { switch ox, oy := ord(x), ord(y); { case ox < oy: x, y = match0(x, y) case ox > oy: y, x = match0(y, x) } return x, y } // match0 must only be called by match. // Invariant: ord(x) < ord(y) func match0(x, y Value) (_, _ Value) { // Prefer to return the original x and y arguments when possible,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 34K bytes - Viewed (0)