Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,777 for whereIs (0.12 sec)

  1. docs_src/response_model/tutorial003_05.py

    @app.get("/portal", response_model=None)
    async def get_portal(teleport: bool = False) -> Union[Response, dict]:
        if teleport:
            return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 10 16:22:47 UTC 2023
    - 405 bytes
    - Viewed (0)
  2. platforms/core-runtime/time/src/main/java/org/gradle/internal/time/TimeFormatting.java

        }
    
        public static String formatDurationVeryTerse(long duration) {
            if (duration == 0) {
                return "0s";
            }
    
            StringBuilder result = new StringBuilder();
    
            // Whereas it doesn't make sense to pass negative values to this method,
            // the duration passed on call sited is often a result of some math, what is not guarantees positive-values-only.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/termlist.go

    func (xl termlist) isEmpty() bool {
    	// If there's a non-nil term, the entire list is not empty.
    	// If the termlist is in normal form, this requires at most
    	// one iteration.
    	for _, x := range xl {
    		if x != nil {
    			return false
    		}
    	}
    	return true
    }
    
    // isAll reports whether the termlist xl represents the set of all types.
    func (xl termlist) isAll() bool {
    	// If there's a 𝓤 term, the entire list is 𝓤.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 03 18:29:30 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_dependencies/test_tutorial008c_an.py

        return client
    
    
    def test_get_no_item(client: TestClient):
        response = client.get("/items/foo")
        assert response.status_code == 404, response.text
        assert response.json() == {"detail": "Item not found, there's only a plumbus here"}
    
    
    def test_get(client: TestClient):
        response = client.get("/items/plumbus")
        assert response.status_code == 200, response.text
        assert response.json() == "plumbus"
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingEnvMapTest.groovy

            }
    
            @Override
            protected Map<String, String> delegate() {
                // Groovy ends up calling get() to obtain innerMap if there's no explicit qualifier, causing stack overflow.
                return AccessTrackingEnvMapTest.this.innerMap
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. src/cmd/go/internal/toolchain/umask_unix.go

    // sysWriteBits determines which bits to OR into the mode to make a directory writable.
    // It must be called when there are no other file system operations happening.
    func sysWriteBits() fs.FileMode {
    	// Read current umask. There's no way to read it without also setting it,
    	// so set it conservatively and then restore the original one.
    	m := syscall.Umask(0o777)
    	syscall.Umask(m)    // restore bits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 15:44:08 UTC 2023
    - 896 bytes
    - Viewed (0)
  7. tests/test_tutorial/test_dependencies/test_tutorial008d.py

        return client
    
    
    def test_get_no_item(client: TestClient):
        response = client.get("/items/foo")
        assert response.status_code == 404, response.text
        assert response.json() == {"detail": "Item not found, there's only a plumbus here"}
    
    
    def test_get(client: TestClient):
        response = client.get("/items/plumbus")
        assert response.status_code == 200, response.text
        assert response.json() == "plumbus"
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/typeparams/termlist.go

    func (xl termlist) isEmpty() bool {
    	// If there's a non-nil term, the entire list is not empty.
    	// If the termlist is in normal form, this requires at most
    	// one iteration.
    	for _, x := range xl {
    		if x != nil {
    			return false
    		}
    	}
    	return true
    }
    
    // isAll reports whether the termlist xl represents the set of all types.
    func (xl termlist) isAll() bool {
    	// If there's a 𝓤 term, the entire list is 𝓤.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 21:08:44 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Throwables.java

       */
      public static Throwable getRootCause(Throwable throwable) {
        // Keep a second pointer that slowly walks the causal chain. If the fast pointer ever catches
        // the slower pointer, then there's a loop.
        Throwable slowPointer = throwable;
        boolean advanceSlowPointer = false;
    
        Throwable cause;
        while ((cause = throwable.getCause()) != null) {
          throwable = cause;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Mar 06 15:38:58 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  10. ISSUES.md

        a documentation issue (for small doc fixes please send a PR instead).
    1.  Make sure the Issue Template is filled out.
    1.  The issue should be related to the repo it is created in.
    
    **Here's why we have this policy:** We want to focus on the work that benefits
    the whole community, e.g., fixing bugs and adding features. Individual support
    should be sought on Stack Overflow or other non-GitHub channels. It helps us to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 11 22:37:27 UTC 2021
    - 606 bytes
    - Viewed (0)
Back to top