Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for Guess (0.05 sec)

  1. src/math/big/natdiv.go

    Refining Guesses
    
    Before we check whether u < q̂·v, we can adjust our guess to change it from
    q̂ = ⌊uₙuₙ₋₁ / vₙ₋₁⌋ into the refined guess ⌊uₙuₙ₋₁uₙ₋₂ / vₙ₋₁vₙ₋₂⌋.
    Although not mentioned above, the Good Guess Guarantee also promises that this
    3-by-2-digit division guess is more precise and at most one away from the real
    answer q. The improvement from the 2-by-1 to the 3-by-2 guess can also be done
    without n-digit math.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/BigIntegerMath.java

         * guess with an application of Newton's method, which sets guess := (guess + (x / guess)) / 2.
         * This iteration has the following two properties:
         *
         * a) every iteration (except potentially the first) has guess >= floor(sqrt(x)). This is
         * because guess' is the arithmetic mean of guess and x / guess, sqrt(x) is the geometric mean,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_vendor_goversion.txt

    stderr '^bad114[/\\]bad114.go:15:2: duplicate method .?Y.?( .*)?$'
    
    
    # With a vendor/modules.txt lacking language versions, the world is topsy-turvy,
    # because we have to guess a uniform version for everything.
    #
    # We always guess Go 1.16, because that was the last version for which
    # 'go mod vendor' failed to record dependency versions, and it has most of
    # the language features added since modules were introduced in Go 1.11.
    #
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 21:29:39 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/BigIntegerMath.java

         * guess with an application of Newton's method, which sets guess := (guess + (x / guess)) / 2.
         * This iteration has the following two properties:
         *
         * a) every iteration (except potentially the first) has guess >= floor(sqrt(x)). This is
         * because guess' is the arithmetic mean of guess and x / guess, sqrt(x) is the geometric mean,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go

    	// Final argument is (basep *uintptr) and the syscall doesn't take nil.
    	// 64 bits should be enough. (32 bits isn't even on 386). Since the
    	// actual system call is getdirentries64, 64 is a good guess.
    	// TODO(rsc): Can we use a single global basep for all calls?
    	var base = (*uintptr)(unsafe.Pointer(new(uint64)))
    	return Getdirentries(fd, buf, base)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 705 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/files/fileTrees/kotlin/build.gradle.kts

    // tag::archive-trees[]
    // Create a ZIP file tree using path
    val zip: FileTree = zipTree("someFile.zip")
    
    // Create a TAR file tree using path
    val tar: FileTree = tarTree("someFile.tar")
    
    // tar tree attempts to guess the compression based on the file extension
    // however if you must specify the compression explicitly you can:
    val someTar: FileTree = tarTree(resources.gzip("someTar.ext"))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt

       * a CountdownLatch).
       */
      @Throws(InterruptedException::class)
      abstract fun dispatch(request: RecordedRequest): MockResponse
    
      /**
       * Returns an early guess of the next response, used for policy on how an incoming request should
       * be received. The default implementation returns an empty response. Mischievous implementations
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. src/runtime/testdata/testprogcgo/stackswitch.c

    	// bounds. needm should refresh the stack bounds anyway since this is a
    	// new thread.
    
    	// N.B. since we used a custom stack with makecontext,
    	// callbackUpdateSystemStack had to guess the bounds. Its guess assumes
    	// a 32KiB stack.
    	char *prev_stack_lo = stack2 + STACK_SIZE - (32*1024);
    
    	// New SP is just barely in bounds, but if we don't update the bounds
    	// we'll almost certainly overflow. The SP that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 15:17:33 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/LongMath.java

            checkRoundingUnnecessary(guessSquared == x);
            return guess;
          case FLOOR:
          case DOWN:
            if (x < guessSquared) {
              return guess - 1;
            }
            return guess;
          case CEILING:
          case UP:
            if (x > guessSquared) {
              return guess + 1;
            }
            return guess;
          case HALF_DOWN:
          case HALF_UP:
          case HALF_EVEN:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/LongMath.java

            checkRoundingUnnecessary(guessSquared == x);
            return guess;
          case FLOOR:
          case DOWN:
            if (x < guessSquared) {
              return guess - 1;
            }
            return guess;
          case CEILING:
          case UP:
            if (x > guessSquared) {
              return guess + 1;
            }
            return guess;
          case HALF_DOWN:
          case HALF_UP:
          case HALF_EVEN:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
Back to top