Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 122 for Treat (0.02 sec)

  1. docs/en/docs/tutorial/body-multiple-params.md

    If you declare it as is, because it is a singular value, **FastAPI** will assume that it is a query parameter.
    
    But you can instruct **FastAPI** to treat it as another body key using `Body`:
    
    {* ../../docs_src/body_multiple_params/tutorial003_an_py310.py hl[23] *}
    
    
    In this case, **FastAPI** will expect a body like:
    
    ```JSON
    {
        "item": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 12:58:04 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. internal/grid/grid.go

    // readAllInto reads from r and appends to b until an error or EOF and returns the data it read.
    // A successful call returns err == nil, not err == EOF. Because readAllInto is
    // defined to read from src until EOF, it does not treat an EOF from Read
    // as an error to be reported.
    func readAllInto(b []byte, r *wsutil.Reader, want int64) ([]byte, error) {
    	read := int64(0)
    	for {
    		if len(b) == cap(b) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

             * can be used with collections that may contain null. This collection is a collection of
             * non-null Entry objects (Entry objects that might contain null values but are not
             * themselves null), so we can treat it as a plain `Object[]`.
             */
            @SuppressWarnings("nullness")
            Object[] result = standardToArray();
            return result;
          }
    
          @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. cmd/endpoint.go

    		// As a special case make sure to trim the separator.
    
    		// NOTE: It is also perfectly fine for windows users to have a path
    		// without C:/ since at that point we treat it as relative path
    		// and obtain the full filesystem path as well. Providing C:/
    		// style is necessary to provide paths other than C:/,
    		// such as F:/, D:/ etc.
    		//
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

       */
      @Throws(IOException::class)
      private fun cacheWritingResponse(
        cacheRequest: CacheRequest?,
        response: Response,
      ): Response {
        // Some apps return a null body; for compatibility we treat that like a null cache request.
        if (cacheRequest == null) return response
        val cacheBodyUnbuffered = cacheRequest.body()
    
        val source = response.body.source()
        val cacheBody = cacheBodyUnbuffered.buffer()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. architecture/standards/0006-use-of-provider-apis-in-gradle.md

        }
    }
    
    // in plugin
    existingThing = objects.newInstance(DefaultExistingThing.class)
    existingThing.convention("some-value")
    ```
    
    It's not acceptable to treat an unset Provider as if the convention is requested when the convention could be set elsewhere:
    
    ```groovy
    public interface NewThing {
        Property<String> getSomeProperty()
    }
    
    // Unacceptable
    String value
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Oct 15 20:00:57 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/QueryCommand.java

            }
    
            if (isSearchField(field)) {
                return fieldBuilder.buildQuery(field, text, boost);
            }
    
            // Fallback: treat as default field query
            context.addFieldLog(Constants.DEFAULT_FIELD, text);
            return buildDefaultQueryBuilder(fessConfig, context, defaultBuilder);
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 11:39:05 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            assertArrayEquals(blob, resp.getBlob());
            assertEquals(0, resp.getSessionFlags());
            assertFalse(resp.isLoggedInAsGuest());
        }
    
        @Test
        @DisplayName("Decode with ACCESS_DENIED should treat as error response")
        void testDecodeErrorResponsePath() throws Exception {
            Smb2SessionSetupResponse resp = newResponse();
    
            byte[] buf = new byte[256];
            int headerStart = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

                        }
                        context.success("Model upgrade completed");
                        modifiedPoms.add(pomPath);
                    } else {
                        // Treat invalid upgrades (including downgrades) as errors, not warnings
                        context.failure("Cannot upgrade from " + currentVersion + " to " + targetModelVersion);
                        errorPoms.add(pomPath);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                        c = Character.codePointAt(both, 0);
                        i++;
                    } catch (IndexOutOfBoundsException ex) {
                        // high surrogate without low surrogate. Not a lot we can do here except treat it as a regular
                        // character
                    }
                }
    
                if (c == '.') {
                    if (i == startIndex) {
                        list.add(IntItem.ZERO);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
Back to top