- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 38 for Floor (0.03 sec)
-
src/internal/runtime/atomic/atomic_s390x.s
// containing v to OR with the entire word atomically. MOVD $(3<<3), R5 RXSBG $59, $60, $3, R3, R5 // R5 = 24 - ((addr % 4) * 8) = ((addr & 3) << 3) ^ (3 << 3) ANDW $~3, R3 // R3 = floor(addr, 4) = addr &^ 3 SLW R5, R4 // R4 = uint32(v) << R5 LAO R4, R6, 0(R3) // R6 = *R3; *R3 |= R4; (atomic) RET // func And8(addr *uint8, v uint8) TEXT ·And8(SB), NOSPLIT, $0-9
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 7.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr.go
return 0, fmt.Errorf("invalid value for IntOrString: %v", err) } if isPercent { if roundUp { value = int(math.Ceil(float64(value) * (float64(total)) / 100)) } else { value = int(math.Floor(float64(value) * (float64(total)) / 100)) } } return value, nil } // GetValueFromIntOrPercent was deprecated in favor of
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:09 UTC 2024 - 7.8K bytes - Viewed (0) -
src/math/example_test.go
c := math.Sqrt(a*a + b*b) fmt.Printf("%.1f", c) // Output: 5.0 } func ExampleCeil() { c := math.Ceil(1.49) fmt.Printf("%.1f", c) // Output: 2.0 } func ExampleFloor() { c := math.Floor(1.51) fmt.Printf("%.1f", c) // Output: 1.0 } func ExamplePow() { c := math.Pow(2, 3) fmt.Printf("%.1f", c) // Output: 8.0 } func ExamplePow10() { c := math.Pow10(2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 07 18:09:53 UTC 2021 - 3.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/ExcludeJsonLogToCode.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/SortedMultisets.java
@Override @CheckForNull public E lower(@ParametricNullness E e) { return getElementOrNull(multiset().headMultiset(e, OPEN).lastEntry()); } @Override @CheckForNull public E floor(@ParametricNullness E e) { return getElementOrNull(multiset().headMultiset(e, CLOSED).lastEntry()); } @Override @CheckForNull public E ceiling(@ParametricNullness E e) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 01 17:18:04 UTC 2021 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedMultisets.java
@Override @CheckForNull public E lower(@ParametricNullness E e) { return getElementOrNull(multiset().headMultiset(e, OPEN).lastEntry()); } @Override @CheckForNull public E floor(@ParametricNullness E e) { return getElementOrNull(multiset().headMultiset(e, CLOSED).lastEntry()); } @Override @CheckForNull public E ceiling(@ParametricNullness E e) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 01 17:18:04 UTC 2021 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java
return standardSubSet(fromElement, toElement); } @Override public @Nullable T lower(T e) { return standardLower(e); } @Override public @Nullable T floor(T e) { return standardFloor(e); } @Override public @Nullable T ceiling(T e) { return standardCeiling(e); } @Override public @Nullable T higher(T e) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 6.9K bytes - Viewed (0) -
src/math/big/arith.go
z1, z0 := mulAddWWW_g(x[i], y, z[i]) lo, cc := bits.Add(uint(z0), uint(c), 0) c, z[i] = Word(cc), Word(lo) c += z1 } return } // q = ( x1 << _W + x0 - r)/y. m = floor(( _B^2 - 1 ) / d - _B). Requiring x1<y. // An approximate reciprocal with a reference to "Improved Division by Invariant Integers // (IEEE Transactions on Computers, 11 Jun. 2010)" func divWW(x1, x0, y, m Word) (q, r Word) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 28 20:09:27 UTC 2022 - 8.3K bytes - Viewed (0) -
src/time/tick.go
func NewTicker(d Duration) *Ticker { if d <= 0 { panic("non-positive interval for NewTicker") } // Give the channel a 1-element time buffer. // If the client falls behind while reading, we drop ticks // on the floor until the client catches up. c := make(chan Time, 1) t := (*Ticker)(unsafe.Pointer(newTimer(when(d), int64(d), sendTime, c, syncTimer(c)))) t.C = c return t }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:30 UTC 2024 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java
@CheckForNull public E lower(E element) { int index = headIndex(element, false) - 1; return (index == -1) ? null : elements.get(index); } @Override @CheckForNull public E floor(E element) { int index = headIndex(element, true) - 1; return (index == -1) ? null : elements.get(index); } @Override @CheckForNull public E ceiling(E element) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 9K bytes - Viewed (0)