Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for getProto (0.18 seconds)

  1. src/main/java/jcifs/dcerpc/DcerpcBinding.java

            this.proto = proto;
            this.server = server;
        }
    
        /**
         * Get the protocol for this binding.
         * @return the proto
         */
        public String getProto() {
            return this.proto;
        }
    
        /**
         * Get the options for this binding.
         * @return the options
         */
        public Map<String, Object> getOptions() {
            return this.options;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

            DcerpcBinding.addInterface("wkssvc", "6BFFD098-A112-3610-9833-46C3F87E345A:1.0");
        }
    
        @Test
        void testConstructorAndGetters() {
            assertEquals(PROTO, dcerpcBinding.getProto(), "Protocol should match the constructor argument.");
            assertEquals(SERVER, dcerpcBinding.getServer(), "Server should match the constructor argument.");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

            final URL url = new File("/Program File").toURI().toURL();
            assertEquals("file:" + getRoot() + "Program File", ResourceUtil.toExternalForm(url));
        }
    
        /**
         * @throws Exception
         */
        public void testGetFileName() throws Exception {
            URL url = new File("/Program File").toURI().toURL();
            assertEquals(getRoot() + "Program File", ResourceUtil.getFileName(url));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  4. tests/test_top_level_security_scheme_in_openapi.py

    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    bearer_scheme = HTTPBearer()
    
    
    @app.get("/", dependencies=[Depends(bearer_scheme)])
    async def get_root():
        return {"message": "Hello, World!"}
    
    
    client = TestClient(app)
    
    
    def test_get_root():
        response = client.get("/", headers={"Authorization": "Bearer token"})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/internal/SymbolicLinkPreservingTarIT.java

        public void before() throws IOException {
            final Path realFolder = temporaryFolder.getRoot().toPath().resolve("real-folder");
            Files.createDirectory(realFolder);
            Files.createFile(realFolder.resolve("file"));
            Files.createSymbolicLink(realFolder.resolve("link-to-file"), Paths.get("./file"));
            final Path linkInFolder = temporaryFolder.getRoot().toPath().resolve("link-in-folder");
            Files.createDirectory(linkInFolder);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.6K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDslReferencePlugin.java

                task.getSourceFile().convention(dslReference.getRoot().file("dsl.xml"));
                task.getPluginsMetaDataFile().convention(dslReference.getRoot().file("plugins.xml"));
                task.getClassDocbookDirectory().convention(dslReference.getRoot());
                task.getClassMetaDataFile().convention(dslMetaData.flatMap(ExtractDslMetaDataTask::getDestinationFile));
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.7K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/DslReference.java

     */
    public abstract class DslReference {
        /**
         * The root of the DSL documentation.  This is the source of the DSL XML currently.
         */
        public abstract DirectoryProperty getRoot();
    
        /**
         * The stylesheet directory used by the DSL reference documentation.
         */
        public abstract DirectoryProperty getStylesheetDirectory();
    
        /**
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.9K bytes
    - Click Count (0)
  8. tests/test_skip_defaults.py

    
    class ModelDefaults(BaseModel):
        w: str | None = None
        x: str | None = None
        y: str = "y"
        z: str = "z"
    
    
    @app.get("/", response_model=Model, response_model_exclude_unset=True)
    def get_root() -> ModelSubclass:
        return ModelSubclass(sub={}, y=1, z=0)
    
    
    @app.get(
        "/exclude_unset", response_model=ModelDefaults, response_model_exclude_unset=True
    )
    def get_exclude_unset() -> ModelDefaults:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2K bytes
    - Click Count (0)
  9. tests/test_default_response_class_router.py

    router_b_override = APIRouter()  # Overrides default class
    router_b_a = APIRouter()
    router_b_a_c_override = APIRouter()  # Overrides default class again
    
    
    @app.get("/")
    def get_root():
        return {"msg": "Hello World"}
    
    
    @app.get("/override", response_class=PlainTextResponse)
    def get_path_override():
        return "Hello World"
    
    
    @router_a.get("/")
    def get_a():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 20:49:20 GMT 2020
    - 5K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

    import org.apache.maven.api.annotations.Provider;
    
    /**
     * Represents a dependency node within a Maven project's dependency collector.
     *
     * @since 4.0.0
     * @see org.apache.maven.api.services.DependencyResolverResult#getRoot()
     */
    @Experimental
    @Immutable
    @Provider
    public interface Node {
    
        /**
         * @return artifact for this node
         */
        @Nullable
        Artifact getArtifact();
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 24 14:10:11 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top