Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4931 - 4940 of 7,014 for _return (0.09 sec)

  1. guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

          switch (this) {
            case IMPLIES_FOO:
              return ImmutableSet.of(FOO);
            case IMPLIES_IMPLIES_FOO:
              return ImmutableSet.of(IMPLIES_FOO);
            case IMPLIES_BAR:
              return ImmutableSet.of(BAR);
            case IMPLIES_IMPLIES_FOO_AND_IMPLIES_BAR:
              return ImmutableSet.of(IMPLIES_FOO, IMPLIES_BAR);
            default:
              return ImmutableSet.of();
          }
        }
    
        @Retention(RUNTIME)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. docs_src/header_params/tutorial003_an.py

    from fastapi import FastAPI, Header
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(x_token: Annotated[Union[List[str], None], Header()] = None):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 269 bytes
    - Viewed (0)
  3. docs_src/query_params/tutorial006_py310.py

    
    @app.get("/items/{item_id}")
    async def read_user_item(
        item_id: str, needy: str, skip: int = 0, limit: int | None = None
    ):
        item = {"item_id": item_id, "needy": needy, "skip": skip, "limit": limit}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 269 bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

            @Throws(IOException::class)
            override fun configureServerSocket(serverSocket: ServerSocket): ServerSocket {
              serverSocket.receiveBufferSize = SOCKET_BUFFER_SIZE
              return serverSocket
            }
          }
        if (connectionType != HTTP) {
          server.useHttps(handshakeCertificates.sslSocketFactory())
        }
        server.start()
    
        client =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

        protected boolean cleanup = false;
    
        public GenerateThumbnailJob numOfThreads(final int numOfThreads) {
            this.numOfThreads = numOfThreads;
            return this;
        }
    
        public GenerateThumbnailJob cleanup() {
            cleanup = true;
            return this;
        }
    
        @Override
        public String execute() {
            final StringBuilder resultBuf = new StringBuilder();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      }
    
      private void expectReturnsTrue(Target target) {
        String message = Platform.format("retainAll(%s) should return true", target);
        assertTrue(message, collection.retainAll(target.toRetain));
      }
    
      private void expectReturnsFalse(Target target) {
        String message = Platform.format("retainAll(%s) should return false", target);
        assertFalse(message, collection.retainAll(target.toRetain));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/fe.tld

      <function>
        <description>
          Returns a label name.
        </description>
        <name>label</name>
        <function-class>org.codelibs.fess.taglib.FessFunctions</function-class>
        <function-signature>java.lang.String label(java.lang.String)</function-signature>
        <example>
          ${fe:label("value")}
        </example>
      </function>
    
      <function>
        <description>
          Returns Date from a given value.
        </description>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 10K bytes
    - Viewed (0)
  8. internal/http/listener_test.go

    	"github.com/minio/minio-go/v7/pkg/set"
    )
    
    var serverPort uint32 = 60000
    
    var getCert = func(*tls.ClientHelloInfo) (*tls.Certificate, error) {
    	certificate, err := getTLSCert()
    	if err != nil {
    		return nil, err
    	}
    	return &certificate, nil
    }
    
    func getTLSCert() (tls.Certificate, error) {
    	keyPEMBlock := []byte(`-----BEGIN RSA PRIVATE KEY-----
    MIIEpAIBAAKCAQEApEkbPrT6wzcWK1W5atQiGptvuBsRdf8MCg4u6SN10QbslA5k
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. docs_src/body_multiple_params/tutorial001_py310.py

        q: str | None = None,
        item: Item | None = None,
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if item:
            results.update({"item": item})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 546 bytes
    - Viewed (0)
  10. docs_src/body_multiple_params/tutorial003_an.py

    @app.put("/items/{item_id}")
    async def update_item(
        item_id: int, item: Item, user: User, importance: Annotated[int, Body()]
    ):
        results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 604 bytes
    - Viewed (0)
Back to top