Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for imprecise (0.21 sec)

  1. 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)
  2. 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)
  3. staging/src/k8s.io/apiserver/pkg/server/mux/pathrecorder_test.go

    	http.Get(s.URL + "/publicPrefix/something")
    	assert.Equal(t, 2, publicPrefixCount)
    	http.Get(s.URL + "/publicPrefix/but-more-precise")
    	assert.Equal(t, 3, publicPrefixCount)
    	http.Get(s.URL + "/publicPrefix/but-more-precise/")
    	assert.Equal(t, 1, precisePrefixCount)
    	http.Get(s.URL + "/publicPrefix/but-more-precise/more-stuff")
    	assert.Equal(t, 2, precisePrefixCount)
    
    	http.Get(s.URL + "/publicPrefix/exactmatch")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 26 16:15:13 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  4. 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)
  5. test/fixedbugs/issue5493.go

    		atomic.AddInt64(&count, -1)
    	})
    	go f2()
    	return nil
    }
    
    func main() {
    	// Does not work with gccgo, due to partially conservative GC.
    	// Try to enable when we have fully precise GC.
    	if runtime.Compiler == "gccgo" {
    		return
    	}
    	count = N
    	var wg sync.WaitGroup
    	wg.Add(N)
    	for i := 0; i < N; i++ {
    		go func() {
    			run()
    			wg.Done()
    		}()
    	}
    	wg.Wait()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 05 21:11:31 UTC 2021
    - 953 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. android/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)
  9. test/deferfin.go

    package main
    
    import (
    	"runtime"
    	"sync"
    	"sync/atomic"
    	"time"
    )
    
    var sink func()
    
    func main() {
    	// Does not work with gccgo, due to partially conservative GC.
    	// Try to enable when we have fully precise GC.
    	if runtime.Compiler == "gccgo" {
    		return
    	}
    	N := 10
    	count := int32(N)
    	var wg sync.WaitGroup
    	wg.Add(N)
    	for i := 0; i < N; i++ {
    		go func() {
    			defer wg.Done()
    			v := new(string)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 05 21:11:31 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  10. maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingEvent.java

    import org.apache.maven.model.Model;
    
    /**
     * 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 getModel();
    
        /**
         * Gets the model building request being processed.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top