Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 493 for able (0.14 sec)

  1. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        assertEquals("Should be able to peek() at first element", "A", peekingIterator.peek());
        assertEquals(
            "Should be able to peek() first element multiple times", "A", peekingIterator.peek());
        assertEquals(
            "next() should still return first element after peeking", "A", peekingIterator.next());
    
        assertEquals("Should be able to peek() at middle element", "B", peekingIterator.peek());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        assertEquals("Should be able to peek() at first element", "A", peekingIterator.peek());
        assertEquals(
            "Should be able to peek() first element multiple times", "A", peekingIterator.peek());
        assertEquals(
            "next() should still return first element after peeking", "A", peekingIterator.next());
    
        assertEquals("Should be able to peek() at middle element", "B", peekingIterator.peek());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users_test.go

    	if err != nil {
    		c.Fatalf("should be able to get user info: %v", err)
    	}
    	return ui
    }
    
    func (c *check) mustNotCreateIAMUser(ctx context.Context, admClnt *madmin.AdminClient) {
    	c.Helper()
    	randUser := mustGetUUID()
    	randPass := mustGetUUID()
    	err := admClnt.AddUser(ctx, randUser, randPass)
    	if err == nil {
    		c.Fatalf("should not be able to create a user")
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  4. cmd/auth-handler_test.go

    	if err != nil {
    		t.Fatalf("Unable to initialize new http request %s", err)
    	}
    	return req
    }
    
    // This is similar to mustNewRequest but additionally the request
    // is signed with AWS Signature V4, fails if not able to do so.
    func mustNewSignedRequest(method string, urlStr string, contentLength int64, body io.ReadSeeker, t *testing.T) *http.Request {
    	req := mustNewRequest(method, urlStr, contentLength, body, t)
    	cred := globalActiveCred
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/aether/MavenExecutionRequestExtender.java

     * under the License.
     */
    package org.apache.maven.internal.aether;
    
    import org.apache.maven.execution.MavenExecutionRequest;
    
    /**
     * Strictly internal component able to "extend" {@link MavenExecutionRequest} in some way before it is used to
     * construct resolver session.
     *
     * @since 4.0.0
     */
    interface MavenExecutionRequestExtender {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Jan 19 11:00:28 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/security/oauth2-jwt.md

    </div>
    
    !!! tip
        With `passlib`, you could even configure it to be able to read passwords created by **Django**, a **Flask** security plug-in or many others.
    
        So, you would be able to, for example, share the same data from a Django application in a database with a FastAPI application. Or gradually migrate a Django application using the same database.
    
        And your users would be able to login from your Django app or from your **FastAPI** app, at the same time.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/handling-errors.md

    This way, if any part of Starlette's internal code, or a Starlette extension or plug-in, raises a Starlette `HTTPException`, your handler will be able to catch and handle it.
    
    In this example, to be able to have both `HTTPException`s in the same code, Starlette's exceptions is renamed to `StarletteHTTPException`:
    
    ```Python
    from starlette.exceptions import HTTPException as StarletteHTTPException
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

       * to timer, and importantly this is the main situation in which we need to be able to see the
       * write.
       *
       * 2. visibility of the writes to an afterDone() call triggered by cancel():
       *
       * Since these fields are non-final that means that TimeoutFuture is not being 'safely published',
       * thus a motivated caller may be able to expose the reference to another thread that would then
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/aether/RepositorySystemSessionExtender.java

    import org.eclipse.aether.repository.AuthenticationSelector;
    import org.eclipse.aether.repository.MirrorSelector;
    import org.eclipse.aether.repository.ProxySelector;
    
    /**
     * Strictly internal component able to "extend" session in some way.
     *
     * @since 4.0.0
     */
    interface RepositorySystemSessionExtender {
        void extend(
                MavenExecutionRequest mavenExecutionRequest,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Jan 19 11:00:28 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenSessionBuilderSupplier.java

         * local repository manager needs to be configured to make session be able to create session instance.
         *
         * @return SessionBuilder configured with minimally required things for "Maven-based resolution". At least LRM must
         * be set on builder to make it able to create session instances.
         */
        @Override
        public SessionBuilder get() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 7.4K bytes
    - Viewed (0)
Back to top