Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4241 - 4250 of 7,200 for RETURN (0.05 sec)

  1. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

            return crawlingInfoList;
        }
    
        /**
         * Retrieves a single crawling information record by its unique identifier.
         *
         * @param id the unique identifier of the crawling information record
         * @return an OptionalEntity containing the CrawlingInfo if found, empty otherwise
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/Cache.java

      /**
       * Returns the value associated with {@code key} in this cache, obtaining that value from {@code
       * loader} if necessary. The method improves upon the conventional "if cached, return; otherwise
       * create, cache and return" pattern. For further improvements, use {@link LoadingCache} and its
       * {@link LoadingCache#get(Object) get(K)} method instead of this one.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. tests/test_response_change_status_code.py

    
    async def response_status_setter(response: Response):
        response.status_code = 201
    
    
    async def parent_dep(result=Depends(response_status_setter)):
        return result
    
    
    @app.get("/", dependencies=[Depends(parent_dep)])
    async def get_main():
        return {"msg": "Hello World"}
    
    
    client = TestClient(app)
    
    
    def test_dependency_set_status_code():
        response = client.get("/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Apr 08 04:37:38 UTC 2020
    - 589 bytes
    - Viewed (0)
  4. tests/test_stringified_annotations_simple.py

    from .utils import needs_py310
    
    
    class Dep:
        def __call__(self, request: Request):
            return "test"
    
    
    @needs_py310
    def test_stringified_annotations():
        app = FastAPI()
    
        client = TestClient(app)
    
        @app.get("/test/")
        def call(test: Annotated[str, Depends(Dep())]):
            return {"test": test}
    
        response = client.get("/test")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 545 bytes
    - Viewed (0)
  5. tests/test_wrapped_method_forward_reference.py

    from fastapi.testclient import TestClient
    
    from .forward_reference_type import forwardref_method
    
    
    def passthrough(f):
        @functools.wraps(f)
        def method(*args, **kwargs):
            return f(*args, **kwargs)
    
        return method
    
    
    def test_wrapped_method_type_inference():
        """
        Regression test ensuring that when a method imported from another module
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 17:23:14 UTC 2025
    - 997 bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

                buffer[i] = (byte) (0xFF - i);
            }
    
            return buffer;
        }
    
        private byte[] createMockBuffer(byte infoLevel) {
            switch (infoLevel) {
            case FileInformation.FILE_BASIC_INFO:
                return createMockFileBasicInfoBuffer();
            case FileInformation.FILE_STANDARD_INFO:
                return createMockFileStandardInfoBuffer();
            case FileInformation.FILE_INTERNAL_INFO:
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. docs/features/interceptors.md

        return new RequestBody() {
          @Override public MediaType contentType() {
            return body.contentType();
          }
    
          @Override public long contentLength() {
            return -1; // We don't know the compressed length in advance!
          }
    
          @Override public void writeTo(BufferedSink sink) throws IOException {
            BufferedSink gzipSink = Okio.buffer(new GzipSink(sink));
            body.writeTo(gzipSink);
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  8. src/bytes/example_test.go

    	// Output:
    	// 8
    	// 9
    	// -1
    }
    
    func ExampleMap() {
    	rot13 := func(r rune) rune {
    		switch {
    		case r >= 'A' && r <= 'Z':
    			return 'A' + (r-'A'+13)%26
    		case r >= 'a' && r <= 'z':
    			return 'a' + (r-'a'+13)%26
    		}
    		return r
    	}
    	fmt.Printf("%s\n", bytes.Map(rot13, []byte("'Twas brillig and the slithy gopher...")))
    	// Output:
    	// 'Gjnf oevyyvt naq gur fyvgul tbcure...
    }
    
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon May 12 16:07:54 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

              @Override
              public final boolean isRunning() {
                return delegate.isRunning();
              }
    
              @Override
              public final State state() {
                return delegate.state();
              }
    
              @Override
              public final Throwable failureCause() {
                return delegate.failureCause();
              }
            };
        IllegalArgumentException expected =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/Log.java

     * rather than formatting first by calling <code>toString()</code>.
     *
     *
     * @deprecated Use SLF4J directly
     */
    @Deprecated
    public interface Log {
        /**
         * @return true if the <b>debug</b> error level is enabled
         */
        boolean isDebugEnabled();
    
        /**
         * Send a message to the user in the <b>debug</b> error level.
         *
         * @param content
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top