- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 5,953 for i$ (0.04 sec)
-
src/reflect/swapper.go
return func(i, j int) { ps[i], ps[j] = ps[j], ps[i] } } if typ.Kind() == abi.String { ss := *(*[]string)(v.ptr) return func(i, j int) { ss[i], ss[j] = ss[j], ss[i] } } } else { switch size { case 8: is := *(*[]int64)(v.ptr) return func(i, j int) { is[i], is[j] = is[j], is[i] } case 4: is := *(*[]int32)(v.ptr) return func(i, j int) { is[i], is[j] = is[j], is[i] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:30 UTC 2024 - 2K bytes - Viewed (0) -
src/image/png/writer.go
// The up filter. sum := 0 for i := 0; i < n; i++ { cdat2[i] = cdat0[i] - pdat[i] sum += abs8(cdat2[i]) } best := sum filter := ftUp // The Paeth filter. sum = 0 for i := 0; i < bpp; i++ { cdat4[i] = cdat0[i] - pdat[i] sum += abs8(cdat4[i]) } for i := bpp; i < n; i++ { cdat4[i] = cdat0[i] - paeth(cdat0[i-bpp], pdat[i], pdat[i-bpp]) sum += abs8(cdat4[i])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 17:08:05 UTC 2024 - 15.4K bytes - Viewed (0) -
cmd/batch-job-common-types_gen_test.go
v := BatchJobKV{} b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.MarshalMsg(nil) } } func BenchmarkAppendMsgBatchJobKV(b *testing.B) { v := BatchJobKV{} bts := make([]byte, 0, v.Msgsize()) bts, _ = v.MarshalMsg(bts[0:0]) b.SetBytes(int64(len(bts))) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { bts, _ = v.MarshalMsg(bts[0:0]) } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 11.3K bytes - Viewed (0) -
cmd/batch-rotate_gen_test.go
b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.MarshalMsg(nil) } } func BenchmarkAppendMsgBatchJobKeyRotateEncryption(b *testing.B) { v := BatchJobKeyRotateEncryption{} bts := make([]byte, 0, v.Msgsize()) bts, _ = v.MarshalMsg(bts[0:0]) b.SetBytes(int64(len(bts))) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { bts, _ = v.MarshalMsg(bts[0:0]) } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Aug 29 18:27:23 UTC 2023 - 11.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/resources/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/uikit.min.js
.y<=e.bottom&&t.y>=e.top}var rt={ratio:function(t,e,i){var n,r="width"===e?"height":"width";return(n={})[r]=t[e]?Math.round(i*t[r]/t[e]):t[r],n[e]=i,n},contain:function(i,n){var r=this;return J(i=G({},i),function(t,e){return i=i[e]>n[e]?r.ratio(i,e,n[e]):i}),i},cover:function(i,n){var r=this;return J(i=this.contain(i,n),function(t,e){return i=i[e]<n[e]?r.ratio(i,e,n[e]):i}),i}};function ot(t,e,i){if(I(e))for(var n in e)ot(t,n,e[n]);else{if(H(i))return(t=W(t))&&t.getAttribute(e);V(t).forEach(func...
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 130.5K bytes - Viewed (0) -
src/slices/sort.go
// Invariant: x[i-1] < target, x[j] >= target. i, j := 0, n for i < j { h := int(uint(i+j) >> 1) // avoid overflow when computing h // i ≤ h < j if cmp.Less(x[h], target) { i = h + 1 // preserves x[i-1] < target } else { j = h // preserves x[j] >= target } } // i == j, x[i-1] < target, and x[j] (= x[i]) >= target => answer is i.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 07 23:54:41 UTC 2024 - 5.8K bytes - Viewed (0) -
pkg/test/framework/components/istio/kube.go
return i.CustomIngressFor(c, name, eastWestIngressIstioLabel) } func (i *istioImpl) CustomIngressFor(c cluster.Cluster, service types.NamespacedName, labelSelector string) ingress.Instance { i.mu.Lock() defer i.mu.Unlock() if i.ingress[c.Name()] == nil { i.ingress[c.Name()] = map[string]ingress.Instance{} } if _, ok := i.ingress[c.Name()][labelSelector]; !ok {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 31.1K bytes - Viewed (0) -
src/internal/trace/batchcursor.go
} func heapSiftUp(heap []*batchCursor, i int) int { for i > 0 && heap[(i-1)/2].ev.time > heap[i].ev.time { heap[(i-1)/2], heap[i] = heap[i], heap[(i-1)/2] i = (i - 1) / 2 } return i } func heapSiftDown(heap []*batchCursor, i int) int { for { m := min3(heap, i, 2*i+1, 2*i+2) if m == i { // Heap invariant already applies. break } heap[i], heap[m] = heap[m], heap[i] i = m }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 4.1K bytes - Viewed (0) -
doc/go_mem.html
</p> <ol> <li><i>w</i> happens before <i>r</i>.</li> <li><i>w</i> does not happen before any other write <i>w'</i> (to <i>x</i>) that happens before <i>r</i>.</li> </ol> <p> A <i>read-write data race</i> on memory location <i>x</i> consists of a read-like memory operation <i>r</i> on <i>x</i> and a write-like memory operation <i>w</i> on <i>x</i>, at least one of which is non-synchronizing,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 15:54:42 UTC 2024 - 26.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc
EinsumDimensionNumbers dnums; for (int64_t i = 0; i < lhs.size(); ++i) { auto out_index = out_map.find(lhs[i]); if (out_index == out_map.end()) { dnums.lhs.emplace_back(i); } else { dnums.lhs_out.emplace_back(i, out_index->second); } } for (int64_t i = 0; i < out.size(); ++i) { auto lhs_index = lhs_map.find(out[i]); if (lhs_index == lhs_map.end()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.3K bytes - Viewed (0)