Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 57 for FooBar (0.06 seconds)

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

  1. docs/zh/docs/tutorial/security/first-steps.md

    * 前端会把令牌临时存储在某处。
    * 用户在前端中点击跳转到前端应用的其他部分。
    * 前端需要从 API 获取更多数据。
        * 但该端点需要身份验证。
        * 因此,为了与我们的 API 进行身份验证,它会发送一个 `Authorization` 请求头,值为 `Bearer ` 加上令牌。
        * 如果令牌内容是 `foobar`,`Authorization` 请求头的内容就是:`Bearer foobar`。
    
    ## **FastAPI** 的 `OAuth2PasswordBearer` { #fastapis-oauth2passwordbearer }
    
    **FastAPI** 在不同抽象层级提供了多种安全工具。
    
    本示例将使用 **OAuth2** 的 **Password** 流程并配合 **Bearer** 令牌,通过 `OAuth2PasswordBearer` 类来实现。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  2. tensorflow/c/c_test.c

    // just nice to know that it compiles.
    void* create(TF_OpKernelConstruction* ctx) {
      TF_DataType type;
      TF_Status* s = TF_NewStatus();
      TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
      TF_DeleteStatus(s);
      return NULL;
    }
    
    // A compute function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/Ascii.java

       * the sequence will be returned as a string with no changes to the content.
       *
       * <p>Examples:
       *
       * {@snippet :
       * Ascii.truncate("foobar", 7, "..."); // returns "foobar"
       * Ascii.truncate("foobar", 5, "..."); // returns "fo..."
       * }
       *
       * <p><b>Note:</b> This method <i>may</i> work with certain non-ASCII text but is not safe for use
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class MessageDigestHashFunctionTest extends TestCase {
      private static final ImmutableSet<String> INPUTS = ImmutableSet.of("", "Z", "foobar");
    
      // From "How Provider Implementations Are Requested and Supplied" from
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/base/Utf8Test.java

      }
    
      public void testEncodedLength_invalidStrings() {
        testEncodedLengthFails(newString(MIN_HIGH_SURROGATE), 0);
        testEncodedLengthFails("foobar" + newString(MIN_HIGH_SURROGATE), 6);
        testEncodedLengthFails(newString(MIN_LOW_SURROGATE), 0);
        testEncodedLengthFails("foobar" + newString(MIN_LOW_SURROGATE), 6);
        testEncodedLengthFails(newString(MIN_HIGH_SURROGATE, MIN_HIGH_SURROGATE), 0);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

      public void testThreadRenaming() {
        Executor renamingExecutor =
            renamingDecorator(newDirectExecutorService(), Suppliers.ofInstance("FooBar"));
        String oldName = Thread.currentThread().getName();
        renamingExecutor.execute(
            () -> assertThat(Thread.currentThread().getName()).isEqualTo("FooBar"));
        assertThat(Thread.currentThread().getName()).isEqualTo(oldName);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

      public void testThreadRenaming() {
        Executor renamingExecutor =
            renamingDecorator(newDirectExecutorService(), Suppliers.ofInstance("FooBar"));
        String oldName = Thread.currentThread().getName();
        renamingExecutor.execute(
            () -> assertThat(Thread.currentThread().getName()).isEqualTo("FooBar"));
        assertThat(Thread.currentThread().getName()).isEqualTo(oldName);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertEquals("8", request.commandLine.getOptionValue(CLIManager.THREADS));
    
            // override from command line
            request = new CliRequest(new String[] {"--builder", "foobar"}, null);
            cli.cli(request);
            assertEquals("foobar", request.commandLine.getOptionValue("builder"));
        }
    
        @Test
        void testMavenConfigInvalid() throws Exception {
            System.setProperty(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/Ascii.java

       * the sequence will be returned as a string with no changes to the content.
       *
       * <p>Examples:
       *
       * {@snippet :
       * Ascii.truncate("foobar", 7, "..."); // returns "foobar"
       * Ascii.truncate("foobar", 5, "..."); // returns "fo..."
       * }
       *
       * <p><b>Note:</b> This method <i>may</i> work with certain non-ASCII text but is not safe for use
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      }
    
      public void testRemoveFromStringHeap() {
        MinMaxPriorityQueue<String> mmHeap =
            rawtypeToWildcard(MinMaxPriorityQueue.expectedSize(5)).create();
        Collections.addAll(mmHeap, "foo", "bar", "foobar", "barfoo", "larry", "sergey", "eric");
        assertTrue("Heap is not intact initially", mmHeap.isIntact());
        assertThat(mmHeap.peek()).isEqualTo("bar");
        assertThat(mmHeap.peekLast()).isEqualTo("sergey");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
Back to Top