Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 751 - 760 of 1,133 for would (0.37 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh-hant/docs/environment-variables.md

    例如,你可以建立一個名為 `main.py` 的檔案,其中包含以下內容:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    第二個參數是 <a href="https://docs.python.org/zh-tw/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> 的預設回傳值。
    
    如果沒有提供,預設值為 `None`,這裡我們提供 `"World"` 作為預設值。
    
    ///
    
    然後你可以呼叫這個 Python 程式:
    
    //// tab | Linux, macOS, Windows Bash
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 12:17:55 GMT 2024
    - 8K bytes
    - Click Count (0)
  2. docs/en/docs/history-design-future.md

    </blockquote>
    
    ## Investigation { #investigation }
    
    By using all the previous alternatives I had the chance to learn from all of them, take ideas, and combine them in the best way I could find for myself and the teams of developers I have worked with.
    
    For example, it was clear that ideally it should be based on standard Python type hints.
    
    Also, the best approach was to use already existing standards.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/exception/BeanFieldSetAccessibleFailureException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import java.lang.reflect.Field;
    
    /**
     * Signals that a field could not be made accessible.
     */
    public class BeanFieldSetAccessibleFailureException extends ClRuntimeException {
        private static final long serialVersionUID = 1L;
    
        /**
         * The target class.
         */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/exception/BeanMethodSetAccessibleFailureException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import java.lang.reflect.Method;
    
    /**
     * Signals that a method could not be made accessible.
     */
    public class BeanMethodSetAccessibleFailureException extends ClRuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * The target class.
         */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuilder.java

         * @return The result of the settings building, never {@code null}.
         * @throws SettingsBuildingException If the effective settings could not be built.
         */
        SettingsBuildingResult build(SettingsBuildingRequest request) throws SettingsBuildingException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

        /** */
        public int intField;
    
        /** */
        public String stringField;
    
        /** */
        public static final int INT_DATA = 987654321;
    
        /** */
        public static final String STRING_DATA = "Hello World!";
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
            final Field field = getClass().getField("objectField");
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_debugging/test_tutorial001.py

        uvicorn_run_mock.assert_not_called()
    
    
    def test_get_root(client: TestClient):
        response = client.get("/")
        assert response.status_code == 200
        assert response.json() == {"hello world": "ba"}
    
    
    def test_uvicorn_run_called_when_run_as_main():  # Just for coverage
        if sys.modules.get(MOD_NAME):
            del sys.modules[MOD_NAME]
        with unittest.mock.patch("uvicorn.run") as uvicorn_run_mock:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                resultData.removeUrl(getDuplicateUrl(requestData));
            } catch (final CrawlerSystemException e) {
                throw e;
            } catch (final Exception e) {
                throw new CrawlerSystemException("Could not store data.", e);
            }
        }
    
        /**
         * Gets the child URL extraction rules as a stream of tag-attribute pairs.
         *
         * @param responseData the response data
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Nov 29 07:42:33 GMT 2025
    - 30.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

         * </p>
         *
         * @param targetClass the target class (must not be {@literal null})
         * @return the class loader
         * @throws IllegalStateException if the class loader could not be obtained
         */
        public static ClassLoader getClassLoader(final Class<?> targetClass) {
            assertArgumentNotNull("targetClass", targetClass);
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

                try (Writer writer = Files.newBufferedWriter(resumeProperties)) {
                    properties.store(writer, null);
                }
            } catch (IOException e) {
                String message = "Could not create " + RESUME_PROPERTIES_FILENAME + " file.";
                throw new BuildResumptionPersistenceException(message, e);
            }
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 4.9K bytes
    - Click Count (0)
Back to Top