Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 928 for able (0.15 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/custom-docs-ui-assets.md

        If you integrate your API with an OAuth2 provider, you will be able to authenticate and come back to the API docs with the acquired credentials. And interact with it using the real OAuth2 authentication.
    
        Swagger UI will handle it behind the scenes for you, but it needs this "redirect" helper.
    
    ### Create a *path operation* to test it
    
    Now, to be able to test that everything works, create a *path operation*:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  4. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/advanced-dependencies.md

    All the dependencies we have seen are a fixed function or class.
    
    But there could be cases where you want to be able to set parameters on the dependency, without having to declare many different functions or classes.
    
    Let's imagine that we want to have a dependency that checks if the query parameter `q` contains some fixed content.
    
    But we want to be able to parameterize that fixed content.
    
    ## A "callable" instance
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  6. .mvn/readme.txt

    The .mvn directory is needed to be able to use the ${maven.multiModuleProjectDirectory} property....
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jul 06 06:09:20 GMT 2021
    - 97 bytes
    - Viewed (0)
  7. tests/postgres_test.go

    	if err := DB.Exec(`
    CREATE TABLE public.log_usage (
        log_id bigint NOT NULL
    );
    
    ALTER TABLE public.log_usage ALTER COLUMN log_id ADD GENERATED BY DEFAULT AS IDENTITY (
        SEQUENCE NAME public.log_usage_log_id_seq
        START WITH 1
        INCREMENT BY 1
        NO MINVALUE
        NO MAXVALUE
        CACHE 1
    );
    	`).Error; err != nil {
    		t.Fatalf("failed to create table, got error %v", err)
    	}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Oct 08 09:16:32 GMT 2022
    - 6.4K bytes
    - Viewed (3)
  8. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  10. 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)
Back to top