- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for ord (0.02 sec)
-
src/runtime/proc_runtime_test.go
package runtime func RunStealOrderTest() { var ord randomOrder for procs := 1; procs <= 64; procs++ { ord.reset(uint32(procs)) if procs >= 3 && len(ord.coprimes) < 2 { panic("too few coprimes") } for co := 0; co < len(ord.coprimes); co++ { enum := ord.start(uint32(co)) checked := make([]bool, procs) for p := 0; p < procs; p++ { x := enum.position()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 18:43:08 UTC 2022 - 1.4K bytes - Viewed (0) -
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) -
src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/decode.go
// Decode decodes the leading bytes in src as a single instruction using // byte order ord. func Decode(src []byte, ord binary.ByteOrder) (inst Inst, err error) { if len(src) < 4 { return inst, errShort } if decoderCover == nil { decoderCover = make([]bool, len(instFormats)) } inst.Len = 4 ui_extn := [2]uint32{ord.Uint32(src[:inst.Len]), 0} ui := uint64(ui_extn[0]) << 32 inst.Enc = ui_extn[0]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 17:16:14 UTC 2022 - 5.6K 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) -
docs/em/docs/tutorial/path-params-numeric-validations.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Apr 01 09:26:04 UTC 2023 - 4.4K 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)