Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 397 for enough (0.1 sec)

  1. internal/bucket/lifecycle/filter.go

    	if len(f.cachedTags) == 0 {
    		return true
    	}
    
    	parsedTags, err := tags.ParseObjectTags(userTags)
    	if err != nil {
    		return false
    	}
    	tagsMap := parsedTags.ToMap()
    
    	// Not enough tags on object to satisfy the rule filter's tags
    	if len(tagsMap) < len(f.cachedTags) {
    		return false
    	}
    
    	var mismatch bool
    	for k, cv := range f.cachedTags {
    		v, ok := tagsMap[k]
    		if !ok || v != cv {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 04 17:01:26 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        ByteSource source = out.asByteSource();
        int chunk1 = min(dataSize, fileThreshold);
        int chunk2 = dataSize - chunk1;
    
        // Write just enough to not trip the threshold
        if (chunk1 > 0) {
          write(out, data, 0, chunk1, singleByte);
          assertTrue(ByteSource.wrap(data).slice(0, chunk1).contentEquals(source));
        }
        File file = out.getFile();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/HashCode.java

       * {@code long} value in little-endian order.
       *
       * @throws IllegalStateException if {@code bits() < 64}
       */
      public abstract long asLong();
    
      /**
       * If this hashcode has enough bits, returns {@code asLong()}, otherwise returns a {@code long}
       * value with {@code asBytes()} as the least-significant bytes and {@code 0x00} as the remaining
       * most-significant bytes.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    `Where's the other ladder?--Why, I hadn't to bring but one;
    Bill's got the other--Bill! fetch it here, lad!--Here, put 'em up
    at this corner--No, tie 'em together first--they don't reach half
    high enough yet--Oh! they'll do well enough; don't be particular--
    Here, Bill! catch hold of this rope--Will the roof bear?--Mind
    that loose slate--Oh, it's coming down!  Heads below!' (a loud
    crash)--`Now, who did that?--It was Bill, I fancy--Who's to go
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/escape/CharEscaper.java

          int charsSkipped = index - lastEscape;
    
          // This is the size needed to add the replacement, not the full size
          // needed by the string. We only regrow when we absolutely must, and
          // when we do grow, grow enough to avoid excessive growing. Grow.
          int sizeNeeded = destIndex + charsSkipped + rlen;
          if (destSize < sizeNeeded) {
            destSize = sizeNeeded + DEST_PAD_MULTIPLIER * (slen - index);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  6. src/bufio/bufio.go

    }
    
    const minReadBufferSize = 16
    const maxConsecutiveEmptyReads = 100
    
    // NewReaderSize returns a new [Reader] whose buffer has at least the specified
    // size. If the argument io.Reader is already a [Reader] with large enough
    // size, it returns the underlying [Reader].
    func NewReaderSize(rd io.Reader, size int) *Reader {
    	// Is it already a Reader?
    	b, ok := rd.(*Reader)
    	if ok && len(b.buf) >= size {
    		return b
    	}
    	r := new(Reader)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

          Thread.interrupted();
        }
      }
    
      /**
       * awaitFullGc() is not quite as reliable a way to ensure calling of a specific finalize method as
       * the more direct await* methods, but should be reliable enough in practice to avoid flakiness of
       * this test. (And if it isn't, we'd like to know about it first!)
       */
      public void testAwaitFullGc() {
        final CountDownLatch finalizerRan = new CountDownLatch(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_security/test_tutorial005_an.py

        response = client.get(
            "/users/me", headers={"Authorization": f"Bearer {access_token}"}
        )
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Not enough permissions"}
        assert response.headers["WWW-Authenticate"] == 'Bearer scope="me"'
    
    
    def test_token_nonexistent_user():
        response = client.get(
            "/users/me",
            headers={
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_security/test_tutorial005_an_py310.py

        response = client.get(
            "/users/me", headers={"Authorization": f"Bearer {access_token}"}
        )
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Not enough permissions"}
        assert response.headers["WWW-Authenticate"] == 'Bearer scope="me"'
    
    
    @needs_py310
    def test_token_nonexistent_user(client: TestClient):
        response = client.get(
            "/users/me",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/query-params.md

    {!> ../../docs_src/query_params/tutorial002.py!}
    ```
    
    ////
    
    In this case, the function parameter `q` will be optional, and will be `None` by default.
    
    /// check
    
    Also notice that **FastAPI** is smart enough to notice that the path parameter `item_id` is a path parameter and `q` is not, so, it's a query parameter.
    
    ///
    
    ## Query parameter type conversion
    
    You can also declare `bool` types, and they will be converted:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top