Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 734 for f$ (0.03 sec)

  1. tests/test_tutorial/test_security/test_tutorial006.py

        assert response.json() == {"detail": "Invalid authentication credentials"}
    
    
    def test_security_http_basic_non_basic_credentials():
        payload = b64encode(b"johnsecret").decode("ascii")
        auth_header = f"Basic {payload}"
        response = client.get("/users/me", headers={"Authorization": auth_header})
        assert response.status_code == 401, response.text
        assert response.headers["WWW-Authenticate"] == "Basic"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/dependencies/dependencies-with-yield.md

    🖼, <a href="https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">👆 💪 ⚙️ `with` ✍ 📁</a>:
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    🔘, `open("./somefile.txt")` ✍ 🎚 👈 🤙 "🔑 👨‍💼".
    
    🕐❔ `with` 🍫 🏁, ⚫️ ⚒ 💭 🔐 📁, 🚥 📤 ⚠.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/IoTestCase.java

        }
      }
    
      @CanIgnoreReturnValue
      private boolean delete(File file) {
        if (file.isDirectory()) {
          File[] files = file.listFiles();
          if (files != null) {
            for (File f : files) {
              if (!delete(f)) {
                return false;
              }
            }
          }
        }
    
        if (!file.delete()) {
          logger.log(Level.WARNING, "couldn't delete file: {0}", new Object[] {file});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/AbstractTableTest.java

        other.put("bar", 2, cellValue('e'));
        other.put("cat", 2, cellValue('f'));
        table.putAll(other);
        assertEquals((Character) 'd', table.get("foo", 1));
        assertEquals((Character) 'b', table.get("bar", 1));
        assertEquals((Character) 'c', table.get("foo", 3));
        assertEquals((Character) 'e', table.get("bar", 2));
        assertEquals((Character) 'f', table.get("cat", 2));
        assertSize(5);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. fastapi/background.py

        ```python
        from fastapi import BackgroundTasks, FastAPI
    
        app = FastAPI()
    
    
        def write_notification(email: str, message=""):
            with open("log.txt", mode="w") as email_file:
                content = f"notification for {email}: {message}"
                email_file.write(content)
    
    
        @app.post("/send-notification/{email}")
        async def send_notification(email: str, background_tasks: BackgroundTasks):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. src/main/resources/fess_indices/fess/mapping.txt

    ∿ => 〜
    ~ => 〜
    . => \u0020
    
    A => A
    B => B
    C => C
    D => D
    E => E
     => F
    G => G
    H => H
    I => I
    J => J
    K => K
    L => L
    M => M
    N => N
    O => O
    P => P
    Q => Q
    R => R
    S => S
    T => T
    U => U
    V => V
    W => W
    X => X
    Y => Y
    Z => Z
    a => a
    b => b
    c => c
    d => d
    e => e
     => f
    g => g
    h => h
    i => i
    j => j
    k => k
    l => l
    m => m
    n => n
    o => o
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 27 02:07:47 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        Multiset<String> multiset = ImmutableMultiset.of("a", "b", "c", "d", "e", "f");
        assertEquals(HashMultiset.create(asList("a", "b", "c", "d", "e", "f")), multiset);
      }
    
      public void testCreation_sevenElements() {
        Multiset<String> multiset = ImmutableMultiset.of("a", "b", "c", "d", "e", "f", "g");
        assertEquals(HashMultiset.create(asList("a", "b", "c", "d", "e", "f", "g")), multiset);
      }
    
      public void testCreation_emptyArray() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                }
                if (logger.isDebugEnabled()) {
                    logger.debug("Removing thumbnail queue: {}", entity);
                }
                return null;
            }).filter(f -> f != null).forEach(f -> {
                try {
                    f.get();
                } catch (final Exception e) {
                    logger.warn("Failed to process a thumbnail generation.", e);
                }
            });
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. src/main/webapp/js/clipboard.min.js

    throw new Error("Missing required arguments");if(!d.string(e))throw new TypeError("Second argument must be a String");if(!d.fn(n))throw new TypeError("Third argument must be a Function");if(d.node(t))return s=e,f=n,(l=t).addEventListener(s,f),{destroy:function(){l.removeEventListener(s,f)}};if(d.nodeList(t))return a=t,c=e,u=n,Array.prototype.forEach.call(a,function(t){t.addEventListener(c,u)}),{destroy:function(){Array.prototype.forEach.call(a,function(t){t.removeEventListener(c,u)})}};if(d.string(t))return...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat May 28 04:16:16 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Equivalence.java

       * guaranteed that {@link Object#toString}) always returns the same string instance.
       *
       * @since 10.0
       */
      public final <F> Equivalence<F> onResultOf(Function<? super F, ? extends @Nullable T> function) {
        return new FunctionalEquivalence<>(function, this);
      }
    
      /**
       * Returns a wrapper of {@code reference} that implements {@link Wrapper#equals(Object)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top