- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 353 for deltaY (0.24 sec)
-
src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js
vb.baseVal.x = u.x - (u.x - vb.baseVal.x) * (w2 / w1); vb.baseVal.y = u.y - (u.y - vb.baseVal.y) * (h2 / h1); } function handleWheel(e) { if (e.deltaY == 0) return; // Change scale factor by 1.1 or 1/1.1 rescale(currentScale * (e.deltaY < 0 ? 1.1 : (1/1.1)), toSvg(e.offsetX, e.offsetY)); } function setMode(m) { mode = m; touchid = null; touchid2 = null; }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 20K bytes - Viewed (0) -
pilot/pkg/xds/delta.go
var logFiltered string if !req.Delta.IsEmpty() && !requiresResourceNamesModification(w.TypeUrl) { // Some types opt out of this and natively handle req.Delta logFiltered = " filtered:" + strconv.Itoa(len(w.ResourceNames)-len(req.Delta.Subscribed)) w = &model.WatchedResource{ TypeUrl: w.TypeUrl, ResourceNames: req.Delta.Subscribed.UnsortedList(), } } var res model.Resources
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 25.6K bytes - Viewed (0) -
pkg/adsc/delta.go
if config == nil { config = &DeltaADSConfig{} } delta := NewDelta(discoveryAddr, config, opts...) delta.cfg.BackoffPolicy = backoffPolicy return delta } func typeName[T proto.Message]() string { ft := new(T) return resource.APITypePrefix + string((*ft).ProtoReflect().Descriptor().FullName()) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 09:32:41 UTC 2024 - 20.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.h
m.size += patch ? 0 : operations_[m.op_index - shift].alloc; // deltas is sorted by location; apply any corrections to the current // operator. for (; idelta != deltas.end() && idelta->op_index == m.op_index; ++idelta) { m.size += idelta->size; } mapper(m); m.size -= patch ? 0 : operations_[m.op_index - shift].dealloc; } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 14 20:57:44 UTC 2023 - 12K bytes - Viewed (0) -
src/cmd/internal/obj/dwarf.go
func putpclcdelta(linkctxt *Link, dctxt dwCtxt, s *LSym, deltaPC uint64, deltaLC int64) { // Choose a special opcode that minimizes the number of bytes needed to // encode the remaining PC delta and LC delta. var opcode int64 if deltaLC < LINE_BASE { if deltaPC >= PC_RANGE { opcode = OPCODE_BASE + (LINE_RANGE * PC_RANGE) } else { opcode = OPCODE_BASE + (LINE_RANGE * int64(deltaPC)) } } else if deltaLC < LINE_BASE+LINE_RANGE {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 20:40:28 UTC 2023 - 22K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/StatsTesting.java
assertThat(transformation.transform(x1 + xDelta)).isWithin(ALLOWED_ERROR).of(y1 + yDelta); assertThat(transformation.inverse().transform(y1)).isWithin(ALLOWED_ERROR).of(x1); assertThat(transformation.inverse().transform(y1 + yDelta)) .isWithin(ALLOWED_ERROR) .of(x1 + xDelta); assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(yDelta / xDelta);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Nov 09 22:49:56 UTC 2023 - 22.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.cc
// remat.insert. We store changes to the alloc/dealloc sizes due to the // insertion in a vector `delta`: A change `c_alloc` of `operations_[i].alloc` // as `delta[i] += c_alloc`, and a change `c_dealloc` of // `operations_[i].dealloc` as `delta[i+1] -= c_dealloc`. std::vector<MemSpec> deltas; if (remat.begin == remat.end) { return deltas; } // Helper lambda: converts an operation index in the original range to its
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 14 20:57:44 UTC 2023 - 13.7K bytes - Viewed (0) -
src/image/gif/writer_test.go
sum += delta(r0, r1) sum += delta(g0, g1) sum += delta(b0, b1) n += 3 } } return sum / n } // lzw.NewWriter wants an interface which is basically the same thing as gif's // writer interface. This ensures we're compatible. var _ writer = blockWriter{} var testCase = []struct { filename string tolerance int64 }{ {"../testdata/video-001.png", 1 << 12}, {"../testdata/video-001.gif", 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 19K bytes - Viewed (0) -
src/time/sleep_test.go
t.Parallel() const Count = 10 Delta := 100 * Millisecond if testing.Short() { Delta = 10 * Millisecond } t0 := Now() for i := 0; i < Count; i++ { <-After(Delta) } t1 := Now() d := t1.Sub(t0) target := Delta * Count if d < target*9/10 { t.Fatalf("%d ticks of %s too fast: took %s, expected %s", Count, Delta, d, target) } if !testing.Short() && d > target*30/10 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:33:57 UTC 2024 - 22.5K bytes - Viewed (0) -
src/unicode/letter.go
hi := len(caseRange) for lo < hi { m := int(uint(lo+hi) >> 1) cr := caseRange[m] if rune(cr.Lo) <= r && r <= rune(cr.Hi) { delta := cr.Delta[_case] if delta > MaxRune { // In an Upper-Lower sequence, which always starts with // an UpperCase letter, the real deltas always look like: // {0, 1, 0} UpperCase (Lower is next) // {-1, 0, -1} LowerCase (Upper, Title are previous)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 20:02:46 UTC 2023 - 10K bytes - Viewed (0)