Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 116 for imprecise (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/crypto/internal/mlkem768/mlkem768_test.go

    	}
    	if d <= 0 || d >= 12 {
    		panic("d out of range")
    	}
    
    	precise := big.NewRat((1<<d)*int64(x), q) // (2ᵈ / q) * x == (2ᵈ * x) / q
    
    	// FloatString rounds halves away from 0, and our result should always be positive,
    	// so it should work as we expect. (There's no direct way to round a Rat.)
    	rounded, err := strconv.ParseInt(precise.FloatString(0), 10, 64)
    	if err != nil {
    		panic(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:27:18 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/handling-errors.md

    Há diversas situações em que você precisa notificar um erro a um cliente que está utilizando a sua API.
    
    Esse cliente pode ser um browser com um frontend, o código de outra pessoa, um dispositivo IoT, etc.
    
    Pode ser que você precise comunicar ao cliente que:
    
    * O cliente não tem direitos para realizar aquela operação.
    * O cliente não tem acesso aquele recurso.
    * O item que o cliente está tentando acessar não existe.
    * etc.
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. cluster/log-dump/log-dump.sh

              log-dump-ssh "${node_name}" "sudo journalctl --output=short-precise -u kube-master-configuration.service" > "${dir}/kube-master-configuration.log" || true
            else
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 21:15:57 UTC 2024
    - 28.9K bytes
    - Viewed (0)
Back to top