Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 1,624 for round (0.03 seconds)

  1. docs_src/handling_errors/tutorial001_py310.py

    app = FastAPI()
    
    items = {"foo": "The Foo Wrestlers"}
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id: str):
        if item_id not in items:
            raise HTTPException(status_code=404, detail="Item not found")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 299 bytes
    - Click Count (0)
  2. src/clean.bash

    #!/usr/bin/env bash
    # Copyright 2009 The Go Authors. All rights reserved.
    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    set -e
    
    if [ ! -f run.bash ]; then
    	echo 'clean.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    export GOROOT="$(cd .. && pwd)"
    
    gobin="${GOROOT}"/bin
    if ! "$gobin"/go help >/dev/null 2>&1; then
    	echo 'cannot find go command; nothing to clean' >&2
    	exit 1
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Feb 26 21:54:09 GMT 2020
    - 518 bytes
    - Click Count (0)
  3. fuzzing/fuzzingserver-update-expected.sh

    #!/usr/bin/env bash
    
    SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
    cd "$SCRIPT_DIR"
    
    if [ ! -f target/fuzzingserver-actual.txt ]; then
      echo "File not found. Did you run the Autobahn test script?"
      exit 1
    fi
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 26 02:01:32 GMT 2019
    - 275 bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

        }
    
        // Test hook method when MultiThreadedHttpConnectionManager class is not available
        @Test
        public void test_hook_classNotFound() {
            // Create a custom hook that simulates class not found scenario
            FessCurtainFinallyHook customHook = new FessCurtainFinallyHook() {
                @Override
                public void hook(final FwAssistantDirector assistantDirector) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

            Element tr = getChild(thead, "tr");
            List<Element> header = children(tr, "td");
            if (header.size() < 1) {
                throw new RuntimeException(String.format("Expected at least 1 <td> in <thead>/<tr>, found: %s", header));
            }
            Map<String, Element> inheritedValueTitleMapping = new HashMap<String, Element>();
            List<Element> valueTitles = new ArrayList<Element>();
            for (int i = 1; i < header.size(); i++) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/query/QueryFieldConfigSetBasedLookupTest.java

            for (int i = 0; i < 10000; i++) {
                // Simulate original array-based lookup
                boolean found = false;
                for (String field : queryFieldConfig.sortFields) {
                    if (field.equals(testField)) {
                        found = true;
                        break;
                    }
                }
            }
            long arrayDuration = System.nanoTime() - arrayStartTime;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

         * and class simple names.
         *
         * @param name the name of the data store to retrieve, may be null
         * @return the data store instance if found, null if not found or name is null
         */
        public DataStore getDataStore(final String name) {
            if (name == null) {
                return null;
            }
            return dataStoreMap.get(name.toLowerCase(Locale.ROOT));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9K bytes
    - Click Count (0)
  8. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java

         */
        @Nonnull
        Optional<Boolean> noTransferProgress();
    
        /**
         * Indicates whether Maven should cache the "not found" status of artifacts that were not found in remote repositories.
         *
         * @return an {@link Optional} containing true if "not found" status should be cached, false if not, or empty if not specified
         */
        @Nonnull
        Optional<Boolean> cacheArtifactNotFound();
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                    if (!baseDir.isDirectory()) {
                        throw new FessSystemException("Not found: " + baseDir.getAbsolutePath());
                    }
                }
            };
            try {
                manager.init();
                fail();
            } catch (FessSystemException e) {
                assertTrue(e.getMessage().contains("Not found"));
            }
        }
    
        // Test getThumbnailPathOption
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  10. docs_src/handling_errors/tutorial002_py310.py

    
    @app.get("/items-header/{item_id}")
    async def read_item_header(item_id: str):
        if item_id not in items:
            raise HTTPException(
                status_code=404,
                detail="Item not found",
                headers={"X-Error": "There goes my error"},
            )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 404 bytes
    - Click Count (0)
Back to Top