- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 33 for Floor (0.07 sec)
-
guava/src/com/google/common/collect/TreeMultiset.java
@CheckForNull private AvlNode<E> floor(Comparator<? super E> comparator, @ParametricNullness E e) { int cmp = comparator.compare(e, getElement()); if (cmp > 0) { return (right == null) ? this : MoreObjects.firstNonNull(right.floor(comparator, e), this); } else if (cmp == 0) { return this; } else { return (left == null) ? null : left.floor(comparator, e); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 34.6K bytes - Viewed (0) -
src/math/rand/v2/rand.go
// In general (x*n)/2⁶⁴ = k for x*n in [k*2⁶⁴,(k+1)*2⁶⁴). // There are either floor(2⁶⁴/n) or ceil(2⁶⁴/n) possible products // in that range, depending on k. // But suppose we reject the sample and try again when // x*n is in [k*2⁶⁴, k*2⁶⁴+(2⁶⁴%n)), meaning rejecting fewer than n possible // outcomes out of the 2⁶⁴. // Now there are exactly floor(2⁶⁴/n) possible ways to produce // each output value k, so we've restored uniformity.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:25:49 UTC 2024 - 12.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/composite-lowering.mlir
%9 = mhlo.multiply %7, %8 : tensor<4xf32> %10 = "mhlo.broadcast_in_dim"(%2) <{broadcast_dimensions = dense<> : tensor<0xi64>}> : (tensor<f32>) -> tensor<4xf32> %11 = mhlo.divide %9, %10 : tensor<4xf32> %12 = mhlo.floor %11 : tensor<4xf32> %13 = mhlo.convert %12 : (tensor<4xf32>) -> tensor<4xi32> %14 = "mhlo.broadcast_in_dim"(%1) <{broadcast_dimensions = dense<> : tensor<0xi64>}> : (tensor<i32>) -> tensor<4xi32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 18:45:51 UTC 2024 - 32.6K bytes - Viewed (0) -
src/runtime/runtime.go
godebugNewIncNonDefault.Store(p) } // A godebugInc provides access to internal/godebug's IncNonDefault function // for a given GODEBUG setting. // Calls before internal/godebug registers itself are dropped on the floor. type godebugInc struct { name string inc atomic.Pointer[func()] } func (g *godebugInc) IncNonDefault() { inc := g.inc.Load() if inc == nil { newInc := godebugNewIncNonDefault.Load()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo.mlir
//CHECK-NEXT: return %0 : tensor<1x1x1x96xf32> //CHECK-NEXT:} func.func @floor(%arg0: tensor<1x1x1x96xf32>) -> tensor<1x1x1x96xf32> { %0 = "vhlo.floor_v1" (%arg0) : (tensor<1x1x1x96xf32>) -> tensor<1x1x1x96xf32> func.return %0 : tensor<1x1x1x96xf32> } //CHECK:func.func private @floor(%arg0: tensor<1x1x1x96xf32>) -> tensor<1x1x1x96xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 14 19:15:40 UTC 2024 - 31.9K bytes - Viewed (1) -
pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go
memoryNodeAllocatable := resource.MustParse(fakeNodeAllocatableMemory) pod1MemoryHigh := int64(math.Floor( float64(podRequestMemory.Value())+ (float64(pod1LimitMemory.Value())-float64(podRequestMemory.Value()))*float64(m.memoryThrottlingFactor))/float64(pageSize)) * pageSize pod2MemoryHigh := int64(math.Floor( float64(podRequestMemory.Value())+
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 41K bytes - Viewed (0) -
src/crypto/tls/ticket.go
stateBytes := c.decryptTicket(identity, ticketKeys) if stateBytes == nil { return nil, nil } s, err := ParseSessionState(stateBytes) if err != nil { return nil, nil // drop unparsable tickets on the floor } return s, nil } func (c *Config) decryptTicket(encrypted []byte, ticketKeys []ticketKey) []byte { if len(encrypted) < aes.BlockSize+sha256.Size { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:23:54 UTC 2024 - 12.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
return null; } @CheckForNull public E ceiling(E e) { ImmutableSortedSet<E> set = tailSet(e, true); return !set.isEmpty() ? set.first() : null; } @CheckForNull public E floor(E e) { ImmutableSortedSet<E> set = headSet(e, true); return !set.isEmpty() ? set.last() : null; } public ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) { checkNotNull(toElement);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 08 03:01:02 UTC 2024 - 15.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
* simultaneously adopted and removed. */ private val connections = ConcurrentLinkedQueue<RealConnection>() init { // Put a floor on the keep alive duration, otherwise cleanup will spin loop. require(keepAliveDuration > 0L) { "keepAliveDuration <= 0: $keepAliveDuration" } } fun idleConnectionCount(): Int { return connections.count {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 16.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/BaseEncoding.java
import static com.google.common.math.IntMath.divide; import static com.google.common.math.IntMath.log2; import static java.math.RoundingMode.CEILING; import static java.math.RoundingMode.FLOOR; import static java.math.RoundingMode.UNNECESSARY; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Mar 15 16:33:32 UTC 2024 - 41.7K bytes - Viewed (0)