Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3001 - 3010 of 4,204 for Hint (0.02 sec)

  1. src/main/java/jcifs/smb/SmbSessionImpl.java

         */
        private boolean isWitnessServiceAvailable(InetAddress address) {
            // RPC endpoint mapper port and connection timeout
            final int RPC_ENDPOINT_PORT = 135;
            final int RPC_CONNECT_TIMEOUT_MS = 5000;
    
            try (Socket socket = new Socket()) {
                socket.connect(new InetSocketAddress(address, RPC_ENDPOINT_PORT), RPC_CONNECT_TIMEOUT_MS);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/Extractor.java

        /**
         * Returns the weight of the extractor.
         * The default implementation returns a weight of 1.
         *
         * @return the weight of the extractor
         */
        default int getWeight() {
            return 1;
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/SetWithResolutionResult.java

            this.artifacts = Collections.unmodifiableSet(artifacts);
        }
    
        @Override
        public Iterator<Artifact> iterator() {
            return artifacts.iterator();
        }
    
        @Override
        public int size() {
            return artifacts.size();
        }
    
        @Override
        public DependencyResolutionResult getResult() {
            return result;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. tests/test_exception_handlers.py

    
    @app.get("/http-exception")
    def route_with_http_exception():
        raise HTTPException(status_code=400)
    
    
    @app.get("/request-validation/{param}/")
    def route_with_request_validation_exception(param: int):
        pass  # pragma: no cover
    
    
    @app.get("/server-error")
    def route_with_server_error():
        raise RuntimeError("Oops!")
    
    
    def test_override_http_exception():
        response = client.get("/http-exception")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 03 22:37:12 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. tests/test_validate_response.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: Optional[float] = None
        owner_ids: Optional[list[int]] = None
    
    
    @app.get("/items/invalid", response_model=Item)
    def get_invalid():
        return {"name": "invalid", "price": "foo"}
    
    
    @app.get("/items/invalidnone", response_model=Item)
    def get_invalid_none():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/path-params.md

                "msg": "value is not a valid integer",
                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    これは、パスパラメータ `item_id` が `int` ではない値 `"foo"` だからです。
    
    <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a> で見られるように、intのかわりに `float` が与えられた場合にも同様なエラーが表示されます。
    
    /// check | 確認
    
    したがって、Pythonの型宣言を使用することで、**FastAPI**はデータのバリデーションを行います。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/NetbiosName.java

         *
         * @return the scope id
         */
        String getScope();
    
        /**
         * Returns the NetBIOS name type.
         *
         * @return the name type
         */
        int getNameType();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  8. internal/disk/fdatasync_unix.go

    package disk
    
    import (
    	"os"
    	"syscall"
    )
    
    // Fdatasync is fsync on freebsd/darwin
    func Fdatasync(f *os.File) error {
    	return syscall.Fsync(int(f.Fd()))
    }
    
    // FadviseDontNeed is a no-op
    func FadviseDontNeed(f *os.File) error {
    	return nil
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Sep 29 23:40:28 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/configurations/SmokeTests.kt

    import model.CIBuildModel
    import model.Stage
    
    class SmokeTests(
        model: CIBuildModel,
        stage: Stage,
        testJava: JvmCategory,
        id: String,
        task: String = "smokeTest",
        splitNumber: Int = 1,
        flakyTestStrategy: FlakyTestStrategy,
    ) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = {
            val suffix = if (flakyTestStrategy == FlakyTestStrategy.ONLY)"_FlakyTestQuarantine" else ""
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Dec 22 07:15:16 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/NetbiosAddress.java

         *         {@link jcifs.netbios.NbtAddress#H_NODE}
         *
         * @throws UnknownHostException
         *             if the host cannot be resolved to find out.
         */
        int getNodeType(CIFSContext tc) throws UnknownHostException;
    
        /**
         * Determines if this address in the process of being deleted.
         *
         * @param tc
         *            context to use
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top