- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 250 for imprecise (0.2 sec)
-
src/internal/diff/diff.go
// the “patience sorting” algorithm, itself named for a solitaire card game. // We avoid that name for two reasons. First, the name has been used // for a few different variants of the algorithm, so it is imprecise. // Second, the name is frequently interpreted as meaning that you have // to wait longer (to be patient) for the diff, meaning that it is a slower algorithm, // when in fact the algorithm is faster than the standard one.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 14:13:04 UTC 2023 - 7.5K bytes - Viewed (0) -
src/runtime/mksizeclasses.go
// fit typical Go idioms. N := bits.Len(uint(max)) var F int if powerOfTwo(d) { F = int(math.Log2(float64(d))) if d != 1<<F { panic("imprecise log2") } } else { for L := 0; ; L++ { if d <= ((1<<(N+L))%d)+(1<<L) { F = N + L break } } } // Also, noted in the paper, F is the smallest number of fractional
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:27 UTC 2024 - 9.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
/** * Prunes any leaked calls and then returns the number of remaining live calls on [connection]. * Calls are leaked if the connection is tracking them but the application code has abandoned * them. Leak detection is imprecise and relies on garbage collection. */ private fun pruneAndGetAllocationCount( connection: RealConnection, now: Long, ): Int { connection.lock.assertHeld()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 16.2K bytes - Viewed (0) -
src/cmd/internal/obj/link.go
// MakeTypelink means that the type should have an entry in the typelink table. AttrMakeTypelink // ReflectMethod means the function may call reflect.Type.Method or // reflect.Type.MethodByName. Matching is imprecise (as reflect.Type // can be used through a custom interface), so ReflectMethod may be // set in some cases when the reflect package is not called. // // Used by the linker to determine what methods can be pruned.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 33.1K bytes - Viewed (0) -
src/runtime/traceback.go
// So for GC stack traversal, we can safely ignore SPWRITE for the innermost frame, // but farther up the stack we'd better not find any. // This is somewhat imprecise because we're just guessing that we're in the stack // growth check. It would be better if SPWRITE were encoded in the spdelta // table so we would know for sure that we were still in safe code. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0) -
src/time/time_test.go
t.Errorf("round-trip failed: %d => %q => %d, %v", min0, min0.String(), min1, err) } for i := 0; i < 100; i++ { // Resolutions finer than milliseconds will result in // imprecise round-trips. d0 := Duration(rand.Int31()) * Millisecond s := d0.String() d1, err := ParseDuration(s) if err != nil || d0 != d1 { t.Errorf("round-trip failed: %d => %q => %d, %v", d0, s, d1, err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf.go
spdelta := int64(pcsp.Value) if !haslr { // Return address has been pushed onto stack. spdelta += int64(d.arch.PtrSize) } if haslr && !fi.TopFrame() { // TODO(bryanpkc): This is imprecise. In general, the instruction // that stores the return address to the stack frame is not the // same one that allocates the frame. if pcsp.Value > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 72.4K bytes - Viewed (0) -
guava/src/com/google/common/math/ToDoubleRounder.java
@GwtIncompatible @ElementTypesAreNonnullByDefault abstract class ToDoubleRounder<X extends Number & Comparable<X>> { /** * Returns x rounded to either the greatest double less than or equal to the precise value of x, * or the least double greater than or equal to the precise value of x. */ abstract double roundToDoubleArbitrarily(X x); /** Returns the sign of x: either -1, 0, or 1. */ abstract int sign(X x);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 5.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelBuildingEvent.java
import org.apache.maven.api.services.ModelProblemCollector; /** * Holds data relevant for a model building event. * */ public interface ModelBuildingEvent { /** * Gets the model being built. The precise state of this model depends on the event being fired. * * @return The model being built, never {@code null}. */ Model model(); Consumer<Model> update(); /**
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 1.8K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/util_windows_test.go
limitations under the License. */ package runtime import ( "testing" ) func checkLatency(t *testing.T, value float64) { // On Windows, time.Now() is not as precise, 2 consecutive calls may return the same timestamp, // thus, the latency metric may be 0 (SinceInSeconds will return 0). // See: https://github.com/golang/go/issues/8687
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 29 16:32:26 UTC 2022 - 917 bytes - Viewed (0)