Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Ruess (0.17 sec)

  1. 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,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  2. 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:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  3. 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
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/archive/tar/format.go

    func (b *block) toSparse() sparseArray { return sparseArray(b[:]) }
    
    // getFormat checks that the block is a valid tar header based on the checksum.
    // It then attempts to guess the specific format based on magic values.
    // If the checksum fails, then FormatUnknown is returned.
    func (b *block) getFormat() Format {
    	// Verify checksum.
    	var p parser
    	value := p.parseOctal(b.toV7().chksum())
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  5. cmd/generic-handlers_test.go

    	"net/http/httptest"
    	"net/url"
    	"strconv"
    	"testing"
    
    	"github.com/minio/minio/internal/crypto"
    	"github.com/minio/minio/internal/grid"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // Tests request guess function for net/rpc requests.
    func TestGuessIsRPC(t *testing.T) {
    	if guessIsRPCReq(nil) {
    		t.Fatal("Unexpected return for nil request")
    	}
    
    	u, err := url.Parse("http://localhost:9000/minio/lock")
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  6. maven-core/src/site/apt/configuration-management.apt

     plugin parameters and anything else.
    
     We once had a document that Vincent and I agreed upon and I was about to
     implement it and then I disappeared for 8 months so it never came to pass.
    
     So I guess it's important to figure out what people are using properties
     files for and see if we can't incorporate it all into the POM. Or if we do
     have properties file (something I would like to avoid) say they don't
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/ByteSourceTester.java

        assertExpectedBytes(out.toByteArray());
      }
    
      public void testCopyTo_byteSink() throws IOException {
        final ByteArrayOutputStream out = new ByteArrayOutputStream();
        // HERESY! but it's ok just for this I guess
        source.copyTo(
            new ByteSink() {
              @Override
              public OutputStream openStream() throws IOException {
                return out;
              }
            });
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/ByteSourceTester.java

        assertExpectedBytes(out.toByteArray());
      }
    
      public void testCopyTo_byteSink() throws IOException {
        final ByteArrayOutputStream out = new ByteArrayOutputStream();
        // HERESY! but it's ok just for this I guess
        source.copyTo(
            new ByteSink() {
              @Override
              public OutputStream openStream() throws IOException {
                return out;
              }
            });
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  9. cmd/net.go

    			return "", "", err
    		}
    
    		host = addr
    
    		switch scheme {
    		case "https":
    			port = "443"
    		case "http":
    			port = "80"
    		default:
    			return "", "", errors.New("unable to guess port from scheme")
    		}
    	}
    
    	return host, port, nil
    }
    
    // isLocalHost - checks if the given parameter
    // correspond to one of the local IP of the
    // current machine
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/TempFileCreator.java

             * layer of fallback before consulting the system property, we could try
             * com.sun.security.auth.module.NTSystem.
             *
             * But for now, we use the value from the system property as our best guess.
             */
            return fromSystemProperty;
          } catch (InvocationTargetException e) {
            throwIfUnchecked(e.getCause()); // in case it's an Error or something
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
Back to top