Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 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. 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)
  5. 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)
  6. 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)
  7. internal/rest/client.go

    			}
    		default:
    			// This is where we'd set it to -1 (at least
    			// if body != NoBody) to mean unknown, but
    			// that broke people during the Go 1.8 testing
    			// period. People depend on it being 0 I
    			// guess. Maybe retry later. See Issue 18117.
    		}
    		// For client requests, Request.ContentLength of 0
    		// means either actually 0, or unknown. The only way
    		// to explicitly say that the ContentLength is zero is
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14K bytes
    - Viewed (0)
  8. migrator/migrator.go

    }
    
    // DropView drop view
    func (m Migrator) DropView(name string) error {
    	return m.DB.Exec("DROP VIEW IF EXISTS ?", clause.Table{Name: name}).Error
    }
    
    // GuessConstraintAndTable guess statement's constraint and it's table based on name
    //
    // Deprecated: use GuessConstraintInterfaceAndTable instead.
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/security/http-basic-auth.md

    ```
    
    But by using the `secrets.compare_digest()` it will be secure against a type of attacks called "timing attacks".
    
    ### Timing Attacks
    
    But what's a "timing attack"?
    
    Let's imagine some attackers are trying to guess the username and password.
    
    And they send a request with a username `johndoe` and a password `love123`.
    
    Then the Python code in your application would be equivalent to something like:
    
    ```Python
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 14:33:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  10. src/archive/tar/reader.go

    			// section; there must be a preceding call to handleRegularFile.
    			if err := tr.handleSparseFile(hdr, rawHdr); err != nil {
    				return nil, err
    			}
    
    			// Set the final guess at the format.
    			if format.has(FormatUSTAR) && format.has(FormatPAX) {
    				format.mayOnlyBe(FormatUSTAR)
    			}
    			hdr.Format = format
    			return hdr, nil // This is a file, so stop
    		}
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top