- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 407 for Height (0.09 sec)
-
guava/src/com/google/common/cache/Weigher.java
/** * Calculates the weights of cache entries. * * @author Charles Fry * @since 11.0 */ @GwtCompatible @FunctionalInterface @ElementTypesAreNonnullByDefault public interface Weigher<K, V> { /** * Returns the weight of a cache entry. There is no unit for entry weights; rather they are simply * relative to each other. * * @return the weight of the entry; must be non-negative */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 1.1K bytes - Viewed (0) -
src/cmd/internal/pgo/serialize_test.go
} if !reflect.DeepEqual(got.NamedEdgeMap.Weight, want.NamedEdgeMap.Weight) { return fmt.Errorf("got.NamedEdgeMap.Weight != want.NamedEdgeMap.Weight\ngot = %+v\nwant = %+v", got.NamedEdgeMap.Weight, want.NamedEdgeMap.Weight) } return nil } func testRoundTrip(t *testing.T, d *Profile) []byte { var buf bytes.Buffer n, err := d.WriteTo(&buf)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:20:01 UTC 2024 - 4.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/mono.go
// we construct vertices representing types A, B, and T. Because of // declaration "type T int", we construct edges T<-A and T<-B with // weight 1; and because of instantiation "f[T, map[A]B]" we construct // edges A<-T with weight 0, and B<-A and B<-B with weight 1. // // Finally, we look for any positive-weight cycles. Zero-weight cycles // are allowed because static instantiation will reach a fixed point. type monoGraph struct { vertices []monoVertex
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 28 00:05:29 UTC 2024 - 9.1K bytes - Viewed (0) -
src/cmd/internal/pgo/serialize.go
// // GO PREPROFILE V1 // caller_name // callee_name // "call site offset" "call edge weight" // ... // caller_name // callee_name // "call site offset" "call edge weight" // // Entries are sorted by "call edge weight", from highest to lowest. const serializationHeader = "GO PREPROFILE V1\n" // WriteTo writes a serialized representation of Profile to w.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:20:01 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/internal/pgo/deserialize.go
edge := NamedCallEdge{ CallerName: callerName, CalleeName: calleeName, CallSiteOffset: co, } weight, err := strconv.ParseInt(split[1], 10, 64) if err != nil { return nil, fmt.Errorf("preprocessed profile error processing call weight: %w", err) } if _, ok := d.NamedEdgeMap.Weight[edge]; ok { return nil, fmt.Errorf("preprocessed profile contains duplicate edge %+v", edge) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:20:01 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LocalCache.java
ValueReference<K, V> previous = entry.getValueReference(); int weight = map.weigher.weigh(key, value); checkState(weight >= 0, "Weights must be non-negative"); ValueReference<K, V> valueReference = map.valueStrength.referenceValue(this, entry, value, weight); entry.setValueReference(valueReference); recordWrite(entry, weight, now); previous.notifyNewValue(value); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 143.6K bytes - Viewed (0) -
src/cmd/internal/pgo/pprof.go
} return postProcessNamedEdgeMap(weight, totalWeight) } func sortByWeight(edges []NamedCallEdge, weight map[NamedCallEdge]int64) { sort.Slice(edges, func(i, j int) bool { ei, ej := edges[i], edges[j] if wi, wj := weight[ei], weight[ej]; wi != wj { return wi > wj // want larger weight first } // same weight, order by name/line number if ei.CallerName != ej.CallerName {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:20:01 UTC 2024 - 4K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/maintenance/admin_maintenance.jsp
</div> <div class="card-body"> <div class="form-group row"> <span class="font-weight-bold col-sm-3 text-sm-right col-form-label"><la:message key="labels.replace_aliases"/></span> <div class="form-inline col-sm-9">
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Jan 16 12:54:35 UTC 2023 - 11.3K bytes - Viewed (0) -
src/cmd/gofmt/gofmt.go
// (if any) and will cause a nonzero final exit code. func (s *sequencer) Add(weight int64, f func(*reporter) error) { if weight < 0 || weight > s.maxWeight { weight = s.maxWeight } if err := s.sem.Acquire(context.TODO(), weight); err != nil { // Change the task from "execute f" to "report err". weight = 0 f = func(*reporter) error { return err } } r := &reporter{prev: s.prev}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 15.1K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilder.java
checkArgument(maximumWeight >= 0, "maximum weight must not be negative"); this.maximumWeight = maximumWeight; return this; } /** * Specifies the weigher to use in determining the weight of entries. Entry weight is taken into * consideration by {@link #maximumWeight(long)} when determining which entries to evict, and use
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 51.3K bytes - Viewed (0)