Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1281 - 1290 of 3,407 for rint (0.1 sec)

  1. tests/test_param_in_path_and_dependency.py

    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    async def user_exists(user_id: int):
        return True
    
    
    @app.get("/users/{user_id}", dependencies=[Depends(user_exists)])
    async def read_users(user_id: int):
        pass
    
    
    client = TestClient(app)
    
    
    def test_read_users():
        response = client.get("/users/42")
        assert response.status_code == 200, response.text
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. dbflute_fess/dfprop/classificationDeploymentMap.dfprop

    # Because table classifications are auto-deployed by relation information.
    #
    # Specification:
    # map: {
    #     [table-name or $$ALL$$] = map:{
    #         ; [column-name (with hint)]=[classification-name]
    #     }
    # }
    #
    # *The line that starts with '#' means comment-out.
    #
    map:{
        #; $$ALL$$       = map:{suffix:_FLG=Flg}
    }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Jul 04 22:46:31 UTC 2015
    - 795 bytes
    - Viewed (0)
  3. docs_src/dependencies/tutorial008d_py39.py

    from fastapi import Depends, FastAPI, HTTPException
    
    app = FastAPI()
    
    
    class InternalError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("We don't swallow the internal error here, we raise again 😎")
            raise
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: str = Depends(get_username)):
        if item_id == "portal-gun":
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 694 bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Queues.java

      @GwtIncompatible // BlockingQueue
      public static <E> int drain(
          BlockingQueue<E> q, Collection<? super E> buffer, int numElements, Duration timeout)
          throws InterruptedException {
        return drain(q, buffer, numElements, toNanosSaturated(timeout), NANOSECONDS);
      }
    
      /**
       * Drains the queue as {@link BlockingQueue#drainTo(Collection, int)}, but if the requested {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 04 17:24:58 UTC 2025
    - 18K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        for (int i = 0; i < getNullLocation(); i++) {
          entries.next();
        }
        return entries.next();
      }
    
      /**
       * @return an array of the proper size with {@code null} as the value of the middle element.
       */
      protected Entry<K, V>[] createArrayWithNullValue() {
        Entry<K, V>[] array = createSamplesArray();
        int nullValueLocation = getNullLocation();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        sort(strings);
        for (int i = 0; i < strings.length; i++) {
          for (int j = i; j < strings.length; j++) {
            assertThat(set.subSet(strings[i], true, strings[j], true))
                .containsExactlyElementsIn(sortedNumberNames(i, j + 1))
                .inOrder();
          }
        }
      }
    
      private static ImmutableList<String> sortedNumberNames(int i, int j) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.8K bytes
    - Viewed (0)
  7. internal/config/notify/legacy.go

    			Key:   target.KafkaQueueLimit,
    			Value: strconv.Itoa(int(cfg.QueueLimit)),
    		},
    		config.KV{
    			Key:   target.KafkaTLS,
    			Value: config.FormatBool(cfg.TLS.Enable),
    		},
    		config.KV{
    			Key:   target.KafkaTLSSkipVerify,
    			Value: config.FormatBool(cfg.TLS.SkipVerify),
    		},
    		config.KV{
    			Key:   target.KafkaTLSClientAuth,
    			Value: strconv.Itoa(int(cfg.TLS.ClientAuth)),
    		},
    		config.KV{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Apr 27 04:30:57 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFile.java

        SmbFileHandleImpl openUnshared(final int flags, final int access, final int sharing, final int attrs, final int options)
                throws CIFSException {
            return openUnshared(getUncPath(), flags, access, sharing, attrs, options);
        }
    
        SmbFileHandleImpl openUnshared(final String uncPath, final int flags, final int access, final int sharing, final int attrs,
                final int options) throws CIFSException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ArrayListMultimap.java

    @GwtCompatible
    public final class ArrayListMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractListMultimap<K, V> {
      // Default from ArrayList
      private static final int DEFAULT_VALUES_PER_KEY = 3;
    
      @VisibleForTesting transient int expectedValuesPerKey;
    
      /**
       * Creates a new, empty {@code ArrayListMultimap} with the default initial capacities.
       *
       * <p>You may also consider the equivalent {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 23:15:58 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/entity/SearchRenderData.java

        /** Formatted execution time for the search request. */
        protected String execTime;
    
        /** Number of results per page. */
        protected int pageSize;
    
        /** Current page number being displayed. */
        protected int currentPageNumber;
    
        /** Total number of records matching the search query. */
        protected long allRecordCount;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top