Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 589 for keep (0.03 seconds)

  1. docs/en/docs/tutorial/security/get-current-user.md

    Just use any kind of model, any kind of class, any kind of database that you need for your application. **FastAPI** has you covered with the dependency injection system.
    
    ## Code size { #code-size }
    
    This example might seem verbose. Keep in mind that we are mixing security, data models, utility functions and *path operations* in the same file.
    
    But here's the key point.
    
    The security and dependency injection stuff is written once.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      @Test
      public void testThatFinalizerStops() {
        weaklyReferenceQueue();
        GcFinalization.awaitClear(queueReference);
      }
    
      /** If we don't keep a strong reference to the reference object, it won't be enqueued. */
      @Nullable FinalizableWeakReference<Object> reference;
    
      /** Create the FRQ in a method that goes out of scope so that we're sure it will be reclaimed. */
      private void weaklyReferenceQueue() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Feb 27 21:20:19 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  3. cmd/metacache-bucket.go

    		}
    		if len(remainCaches) > metacacheMaxEntries {
    			// Sort oldest last...
    			sort.Slice(remainCaches, func(i, j int) bool {
    				return remainCaches[i].lastHandout.Before(remainCaches[j].lastHandout)
    			})
    			// Keep first metacacheMaxEntries...
    			for _, cache := range remainCaches[metacacheMaxEntries:] {
    				if time.Since(cache.lastHandout) > metacacheMaxClientWait {
    					remove[cache.id] = struct{}{}
    				}
    			}
    		}
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/ErrorReportingTestListener.java

                }
            }
    
            @Override
            public void close() throws IOException {
                writer.close();
    
                // there's no need to keep this stuff on disk after suite execution
                outputFile.delete();
            }
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.7K bytes
    - Click Count (0)
  5. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/LicenseHeadersTask.java

            List<IHeaderMatcher> matchers = new ArrayList<>();
            matchers.add(Defaults.createDefaultMatcher());
    
            // BSD 4-clause stuff (is disallowed below)
            // we keep this here, in case someone adds BSD code for some reason, it should never be allowed.
            matchers.add(subStringMatcher("BSD4 ", "Original BSD License (with advertising clause)", "All advertising materials"));
            // Apache
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 09 18:53:35 GMT 2021
    - 10.6K bytes
    - Click Count (0)
  6. CODE_OF_CONDUCT.md

    
    ## Attribution
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Feb 05 18:43:16 GMT 2021
    - 5.2K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt

                noMoreParts = true
                return null
              }
    
              2, 3 -> {
                // " " or "\t" Ignore whitespace and keep looking.
                whitespace = true
                continue@afterBoundaryLoop
              }
    
              -1 -> {
                throw ProtocolException("unexpected characters after boundary")
              }
            }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/hash/Fingerprint2011.java

       */
      private static long fullFingerprint(byte[] bytes, int offset, int length) {
        // For lengths over 64 bytes we hash the end first, and then as we
        // loop we keep 56 bytes of state: v, w, x, y, and z.
        long x = load64(bytes, offset);
        long y = load64(bytes, offset + length - 16) ^ K1;
        long z = load64(bytes, offset + length - 56) ^ K0;
        long[] v = new long[2];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/websockets.md

    ```
    Client #1596980209979 left the chat
    ```
    
    /// tip
    
    The app above is a minimal and simple example to demonstrate how to handle and broadcast messages to several WebSocket connections.
    
    But keep in mind that, as everything is handled in memory, in a single list, it will only work while the process is running, and will only work with a single process.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  10. docs/ko/docs/tutorial/server-sent-events.md

    {* ../../docs_src/server_sent_events/tutorial005_py310.py hl[14] *}
    
    ## 기술 세부사항 { #technical-details }
    
    FastAPI는 일부 SSE 모범 사례를 기본으로 구현합니다.
    
    - 메시지가 없을 때는 15초마다 **"keep alive" `ping` 주석**을 보내 일부 프록시가 연결을 종료하지 않도록 합니다. [HTML 사양: Server-Sent Events](https://html.spec.whatwg.org/multipage/server-sent-events.html#authoring-notes)에서 권장합니다.
    - 스트림이 **캐시되지 않도록** `Cache-Control: no-cache` 헤더를 설정합니다.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:56:39 GMT 2026
    - 5.3K bytes
    - Click Count (0)
Back to Top