- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 223 for rounds (0.1 sec)
-
tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc
module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} { func.func @main(%arg0: tensor<?xi32, #mhlo.type_extensions<bounds = [3]>> ) -> (tensor<?xi32, #mhlo.type_extensions<bounds = [3]>>) { func.return %arg0 : tensor<?xi32, #mhlo.type_extensions<bounds = [3]>> } })"; auto compilation_result = CompileMlirModule( kMlirModuleWithBoundedDynamicArgStr,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 23:59:33 UTC 2024 - 16.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
case n.X.Type().IsArray(): if ssa.CanSSA(n.X.Type()) { // SSA can handle arrays of length at most 1. bound := n.X.Type().NumElem() a := s.expr(n.X) i := s.expr(n.Index) if bound == 0 { // Bounds check will never succeed. Might as well // use constants for the bounds check. z := s.constInt(types.Types[types.TINT], 0) s.boundsCheck(z, z, ssa.BoundsIndex, false)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0) -
src/slices/slices_test.go
{"with negative index", a[:1:1], -1, nil}, {"with out-of-bounds index and > cap", a[:1:1], 2, nil}, {"with out-of-bounds index and = cap", a[:1:2], 2, nil}, {"with out-of-bounds index and < cap", a[:1:3], 2, nil}, // There are values. {"with negative index", a[:1:1], -1, b[:]}, {"with out-of-bounds index and > cap", a[:1:1], 2, b[:]}, {"with out-of-bounds index and = cap", a[:1:2], 2, b[:]},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:32:06 UTC 2024 - 33.2K bytes - Viewed (0) -
src/image/gif/reader.go
// imageBounds.Max (d.width, d.height) and not frameBounds.Min (left, top) // against imageBounds.Min (0, 0). if left+width > d.width || top+height > d.height { return nil, errors.New("gif: frame bounds larger than image bounds") } return image.NewPaletted(image.Rectangle{ Min: image.Point{left, top}, Max: image.Point{left + width, top + height}, }, nil), nil } func (d *decoder) readBlock() (int, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:15:54 UTC 2024 - 17.5K bytes - Viewed (0) -
src/internal/chacha8rand/chacha8.go
// It must be used from one goroutine at a time. // If used by multiple goroutines at a time, the goroutines // may see the same random values, but the code will not // crash or cause out-of-bounds memory accesses. type State struct { buf [32]uint64 seed [4]uint64 i uint32 n uint32 c uint32 } // Next returns the next random value, along with a boolean
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:47:29 UTC 2024 - 4.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/counter/parse.go
// TODO(rfindley): return a useful error message. return nil, fmt.Errorf("%s: corrupt counter file", filename) } f := &File{ Meta: make(map[string]string), Count: make(map[string]uint64), } np := round(len(hdrPrefix), 4) hdrLen := *(*uint32)(unsafe.Pointer(&data[np])) if hdrLen > pageSize { return corrupt() } meta := data[np+4 : hdrLen] if i := bytes.IndexByte(meta, 0); i >= 0 { meta = meta[:i] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 14:38:01 UTC 2024 - 1.8K bytes - Viewed (0) -
src/net/dnsconfig.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 2.2K bytes - Viewed (0) -
pkg/proxy/metrics/metrics.go
kubeproxyconfig "k8s.io/kubernetes/pkg/proxy/apis/config" "k8s.io/kubernetes/pkg/proxy/util/nfacct" ) const kubeProxySubsystem = "kubeproxy" var ( // SyncProxyRulesLatency is the latency of one round of kube-proxy syncing proxy // rules. (With the iptables proxy, this includes both full and partial syncs.) SyncProxyRulesLatency = metrics.NewHistogram( &metrics.HistogramOpts{ Subsystem: kubeProxySubsystem,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 14:39:54 UTC 2024 - 13.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeRangeMap.java
public void remove(Range<K> rangeToRemove) { if (rangeToRemove.isEmpty()) { return; } /* * The comments for this method will use [ ] to indicate the bounds of rangeToRemove and ( ) to * indicate the bounds of ranges in the range map. */ Entry<Cut<K>, RangeMapEntry<K, V>> mapEntryBelowToTruncate = entriesByLowerBound.lowerEntry(rangeToRemove.lowerBound);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 04 14:31:50 UTC 2024 - 25.7K bytes - Viewed (0) -
src/runtime/map_fast32.go
insertb = h.newoverflow(t, b) inserti = 0 // not necessary, but avoids needlessly spilling inserti } insertb.tophash[inserti&(abi.MapBucketCount-1)] = tophash(hash) // mask inserti to avoid bounds checks insertk = add(unsafe.Pointer(insertb), dataOffset+inserti*4) // store new key at insert position *(*uint32)(insertk) = key h.count++ done:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 13.9K bytes - Viewed (0)