Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5601 - 5610 of 7,014 for _return (0.06 sec)

  1. docs_src/handling_errors/tutorial002.py

        if item_id not in items:
            raise HTTPException(
                status_code=404,
                detail="Item not found",
                headers={"X-Error": "There goes my error"},
            )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 404 bytes
    - Viewed (0)
  2. docs_src/dependencies/tutorial010.py

    class MySuperContextManager:
        def __init__(self):
            self.db = DBSession()
    
        def __enter__(self):
            return self.db
    
        def __exit__(self, exc_type, exc_value, traceback):
            self.db.close()
    
    
    async def get_db():
        with MySuperContextManager() as db:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 292 bytes
    - Viewed (0)
  3. docs_src/header_params/tutorial003_an_py39.py

    from typing import Annotated, List, Union
    
    from fastapi import FastAPI, Header
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(x_token: Annotated[Union[List[str], None], Header()] = None):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 240 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/script/ScriptEngineFactory.java

                throw new ScriptEngineException("script name is null.");
            }
            final ScriptEngine scriptEngine = scriptEngineMap.get(name.toLowerCase(Locale.ROOT));
            if (scriptEngine != null) {
                return scriptEngine;
            }
            throw new ScriptEngineException(name + " is not found.");
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java

       * backing multiset.
       */
      ENTRIES_ARE_VIEWS;
    
      @Override
      public Set<Feature<? super Multiset>> getImpliedFeatures() {
        return emptySet();
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      @Inherited
      @TesterAnnotation
      public @interface Require {
        public abstract MultisetFeature[] value() default {};
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java

      }
    
      @Benchmark
      int iteration(int reps) {
        int x = 0;
    
        for (int i = 0; i < reps; i++) {
          for (Element y : setToTest) {
            x ^= System.identityHashCode(y);
          }
        }
        return x;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/TestWriter.java

        flush();
      }
    
      @Override
      public void write(String str, int off, int len) throws IOException {
        super.write(str, off, len);
        flush();
      }
    
      public boolean closed() {
        return out.closed();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java

      }
    
      @Benchmark
      int iteration(int reps) {
        int x = 0;
    
        for (int i = 0; i < reps; i++) {
          for (Element y : setToTest) {
            x ^= System.identityHashCode(y);
          }
        }
        return x;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnum.java

            SmbShareInfo[] entries = new SmbShareInfo[a200.count];
            for ( int i = 0; i < a200.count; i++ ) {
                entries[ i ] = new SmbShareInfo(a200.s[ i ].dfs_name, 0, null);
            }
            return entries;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

            }
    
            @Override
            public void close() throws IOException {
                super.close();
                notify_ = "closed";
            }
    
            public String getNotify() {
                return notify_;
            }
        }
    
        private static class IOExceptionOccurOutputStream extends OutputStream {
    
            @Override
            public void write(final int arg0) throws IOException {
            }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top