Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3331 - 3340 of 7,200 for RETURN (0.04 sec)

  1. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuildingRequest.java

        public Source getGlobalToolchainsSource() {
            return globalToolchainsSource;
        }
    
        @Override
        public ToolchainsBuildingRequest setGlobalToolchainsSource(Source globalToolchainsSource) {
            this.globalToolchainsSource = globalToolchainsSource;
            return this;
        }
    
        @Override
        public Source getUserToolchainsSource() {
            return userToolchainsSource;
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 05 09:37:42 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/GithubCIDetector.java

            if ("true".equals(ciEnv)) {
                return Optional.of(new CIInfo() {
                    @Override
                    public String name() {
                        return NAME;
                    }
    
                    @Override
                    public boolean isVerbose() {
                        return "1".equals(System.getenv(RUNNER_DEBUG));
                    }
                });
            }
            return Optional.empty();
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Apr 13 18:50:07 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/TravisCIDetector.java

            String ciEnv = System.getenv(TRAVIS);
            if ("true".equals(ciEnv)) {
                return Optional.of(new CIInfo() {
                    @Override
                    public String name() {
                        return NAME;
                    }
    
                    @Override
                    public boolean isVerbose() {
                        return "true".equals(System.getenv(TRAVIS_DEBUG_MODE));
                    }
                });
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Apr 13 18:50:07 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. docs_src/sql_databases/tutorial001_an_py310.py

        session.add(hero)
        session.commit()
        session.refresh(hero)
        return hero
    
    
    @app.get("/heroes/")
    def read_heroes(
        session: SessionDep,
        offset: int = 0,
        limit: Annotated[int, Query(le=100)] = 100,
    ) -> list[Hero]:
        heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()
        return heroes
    
    
    @app.get("/heroes/{hero_id}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. internal/bpool/pool.go

    // Pool is a single type sync.Pool with a few extra properties:
    // If New is not set Get may return the zero value of T.
    type Pool[T any] struct {
    	New func() T
    	p   sync.Pool
    }
    
    // Get will retuen a new T
    func (p *Pool[T]) Get() T {
    	v, ok := p.p.Get().(T)
    	if ok {
    		return v
    	}
    	if p.New == nil {
    		var t T
    		return t
    	}
    	return p.New()
    }
    
    // Put a used T.
    func (p *Pool[T]) Put(t T) {
    	p.p.Put(t)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/error.go

    func Errorf(format string, a ...any) error {
    	return Error{err: fmt.Errorf(format, a...)}
    }
    
    // Unwrap the internal error.
    func (e Error) Unwrap() error { return e.err }
    
    // Error 'error' compatible method.
    func (e Error) Error() string {
    	if e.err == nil {
    		return "lifecycle: cause <nil>"
    	}
    	return e.err.Error()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  7. internal/bucket/versioning/error.go

    func Errorf(format string, a ...any) error {
    	return Error{err: fmt.Errorf(format, a...)}
    }
    
    // Unwrap the internal error.
    func (e Error) Unwrap() error { return e.err }
    
    // Error 'error' compatible method.
    func (e Error) Error() string {
    	if e.err == nil {
    		return "versioning: cause <nil>"
    	}
    	return e.err.Error()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. docs_src/request_files/tutorial002_an_py39.py

    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_files(files: Annotated[list[bytes], File()]):
        return {"file_sizes": [len(file) for file in files]}
    
    
    @app.post("/uploadfiles/")
    async def create_upload_files(files: list[UploadFile]):
        return {"filenames": [file.filename for file in files]}
    
    
    @app.get("/")
    async def main():
        content = """
    <body>
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 826 bytes
    - Viewed (0)
  9. tests/test_tutorial/test_settings/test_app02.py

        return mod_path
    
    
    @pytest.fixture(name="main_mod")
    def get_main_mod(mod_path: str) -> ModuleType:
        main_mod = importlib.import_module(f"{mod_path}.main")
        return main_mod
    
    
    @pytest.fixture(name="test_main_mod")
    def get_test_main_mod(mod_path: str) -> ModuleType:
        test_main_mod = importlib.import_module(f"{mod_path}.test_main")
        return test_main_mod
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            assertEquals(0, bytesWritten, "Should return 0 bytes written for empty source.");
            assertEquals(pos, NtlmMessage.readULong(dest, off), "Position should still be written for empty source.");
        }
    
        @Test
        void testGetOEMEncoding() {
            // Test getOEMEncoding
            assertEquals("Cp850", NtlmMessage.getOEMEncoding(), "Should return the correct OEM encoding.");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top