Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 491 - 500 of 5,958 for retain (0.12 seconds)

  1. tests/test_dependency_overrides.py

    async def common_parameters(q: str, skip: int = 0, limit: int = 100):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/main-depends/")
    async def main_depends(commons: dict = Depends(common_parameters)):
        return {"in": "main-depends", "params": commons}
    
    
    @app.get("/decorator-depends/", dependencies=[Depends(common_parameters)])
    async def decorator_depends():
        return {"in": "decorator-depends"}
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/util/ByteEncodableTest.java

            // Verify encoded length
            assertEquals(0, encodedLen, "Encoded length should be zero for zero length encodable");
            assertArrayEquals(new byte[] { 0x00, 0x00, 0x00 }, dest, "Destination array should remain unchanged for zero length encoding");
        }
    
        @Test
        void testEncodeEmptySourceArray() {
            // Test with an empty source array
            byte[] data = {};
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  3. internal/config/errors-utils.go

    type Err struct {
    	msg    string
    	detail string
    	action string
    	hint   string
    }
    
    // Clone returns a new Err struct with the same information
    func (u Err) Clone() Err {
    	return Err{
    		msg:    u.msg,
    		detail: u.detail,
    		action: u.action,
    		hint:   u.hint,
    	}
    }
    
    // Error returns the error message
    func (u Err) Error() string {
    	if u.detail == "" {
    		if u.msg != "" {
    			return u.msg
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_query_params/test_tutorial005.py

                    "HTTPValidationError": {
                        "title": "HTTPValidationError",
                        "type": "object",
                        "properties": {
                            "detail": {
                                "title": "Detail",
                                "type": "array",
                                "items": {"$ref": "#/components/schemas/ValidationError"},
                            }
                        },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_request_form_models/test_tutorial001.py

                    "HTTPValidationError": {
                        "title": "HTTPValidationError",
                        "type": "object",
                        "properties": {
                            "detail": {
                                "title": "Detail",
                                "type": "array",
                                "items": {"$ref": "#/components/schemas/ValidationError"},
                            }
                        },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_request_forms/test_tutorial001.py

                    "HTTPValidationError": {
                        "title": "HTTPValidationError",
                        "type": "object",
                        "properties": {
                            "detail": {
                                "title": "Detail",
                                "type": "array",
                                "items": {"$ref": "#/components/schemas/ValidationError"},
                            }
                        },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java

         */
        @Deprecated
        @Override
        public Log getLog() {
            if (log == null) {
                log = new SystemStreamLog();
            }
    
            return log;
        }
    
        @Override
        public Map getPluginContext() {
            return pluginContext;
        }
    
        @Override
        public void setPluginContext(Map pluginContext) {
            this.pluginContext = pluginContext;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

            params[i] = cause;
          } else {
            return null;
          }
        }
        try {
          return constructor.newInstance(params);
        } catch (IllegalArgumentException
            | InstantiationException
            | IllegalAccessException
            | InvocationTargetException e) {
          return null;
        }
      }
    
      @VisibleForTesting
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

         * @param limitNumber The limit number.
         * @return The calculated limit document number.
         */
        protected static long getLimitDocNum(final long total, final long limitPercentage, final long limitNumber) {
            final long percentNum = (long) (total * (limitPercentage / 100f));
            if (limitNumber < 0) {
                return percentNum;
            }
            return percentNum < limitNumber ? percentNum : limitNumber;
        }
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/CoreRealm.java

     * @since 4.0.0
     */
    @Experimental
    public interface CoreRealm {
    
        /**
         * Obtain the {@link ClassRealm} used for Maven Core.
         *
         * @return the class realm of core.
         */
        @Nonnull
        ClassRealm getRealm();
    
        /**
         * Shorthand method to obtain the {@link ClassWorld} used for Maven Core.
         *
         * @return the class world in use.
         */
        @Nonnull
        default ClassWorld getClassWorld() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
Back to Top