Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for 216 (0.01 sec)

  1. tests/test_tutorial/test_request_files/test_tutorial001.py

        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    def test_post_large_file(tmp_path, client: TestClient):
        default_pydantic_max_size = 2**16
        path = tmp_path / "test.txt"
        path.write_bytes(b"x" * (default_pydantic_max_size + 1))
    
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. tests/test_custom_middleware_exception.py

    app.include_router(router)
    app.add_middleware(ContentSizeLimitMiddleware, max_content_size=2**8)
    
    
    client = TestClient(app)
    
    
    def test_custom_middleware_exception(tmp_path: Path):
        default_pydantic_max_size = 2**16
        path = tmp_path / "test.txt"
        path.write_bytes(b"x" * (default_pydantic_max_size + 1))
    
        with client:
            with open(path, "rb") as file:
                response = client.post("/middleware", files={"file": file})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Aug 25 21:44:40 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

            216,
            webSafeColors.size());
        assertEquals("the new array should be one bigger than webSafeColors", 217, addedColor.size());
        Integer[] appendColorArray = addedColor.toArray(new Integer[addedColor.size()]);
        assertEquals(getComplexBuilderSetLastElement(), (int) appendColorArray[216]);
      }
    
      abstract int getComplexBuilderSetLastElement();
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

            "Modifying the builder should not have changed any already built sets",
            216,
            webSafeColors.size());
        assertEquals("the new array should be one bigger than webSafeColors", 217, addedColor.size());
        Integer[] appendColorArray = addedColor.toArray(new Integer[addedColor.size()]);
        assertEquals(0x00BFFF, (int) appendColorArray[216]);
      }
    
      public void testBuilderAddHandlesNullsCorrectly() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableListTest.java

            "Modifying the builder should not have changed any already built sets",
            216,
            webSafeColors.size());
        assertEquals("the new array should be one bigger than webSafeColors", 217, addedColor.size());
        Integer[] appendColorArray = addedColor.toArray(new Integer[addedColor.size()]);
        assertEquals(0x00BFFF, (int) appendColorArray[216]);
      }
    
      public void testBuilderAddHandlesNullsCorrectly() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/Murmur3_128HashFunction.java

              k1 ^= (long) toUnsignedInt(bb.get(4)) << 32; // fall through
            case 4:
              k1 ^= (long) toUnsignedInt(bb.get(3)) << 24; // fall through
            case 3:
              k1 ^= (long) toUnsignedInt(bb.get(2)) << 16; // fall through
            case 2:
              k1 ^= (long) toUnsignedInt(bb.get(1)) << 8; // fall through
            case 1:
              k1 ^= (long) toUnsignedInt(bb.get(0));
              break;
            default:
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactHashing.java

      private static final int BYTE_MAX_SIZE = 1 << Byte.SIZE; // 2^8 = 256
      private static final int BYTE_MASK = (1 << Byte.SIZE) - 1; // 2^8 - 1 = 255
    
      private static final int SHORT_MAX_SIZE = 1 << Short.SIZE; // 2^16 = 65_536
      private static final int SHORT_MASK = (1 << Short.SIZE) - 1; // 2^16 - 1 = 65_535
    
      /**
       * Returns the power of 2 hashtable size required to hold the expected number of items or the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactHashing.java

      private static final int BYTE_MAX_SIZE = 1 << Byte.SIZE; // 2^8 = 256
      private static final int BYTE_MASK = (1 << Byte.SIZE) - 1; // 2^8 - 1 = 255
    
      private static final int SHORT_MAX_SIZE = 1 << Short.SIZE; // 2^16 = 65_536
      private static final int SHORT_MASK = (1 << Short.SIZE) - 1; // 2^16 - 1 = 65_535
    
      /**
       * Returns the power of 2 hashtable size required to hold the expected number of items or the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                assertEquals(700L, SMBUtil.readInt8(buffer, EXPECTED_SIZE * 2));
                assertEquals(800L, SMBUtil.readInt8(buffer, EXPECTED_SIZE * 2 + 8));
                assertEquals(900, SMBUtil.readInt4(buffer, EXPECTED_SIZE * 2 + 16));
            }
        }
    
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle encoding with minimum buffer size")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. cmd/apierrorcode_string.go

    	_ = x[ErrSiteReplicationBackendIssue-212]
    	_ = x[ErrSiteReplicationServiceAccountError-213]
    	_ = x[ErrSiteReplicationBucketConfigError-214]
    	_ = x[ErrSiteReplicationBucketMetaError-215]
    	_ = x[ErrSiteReplicationIAMError-216]
    	_ = x[ErrSiteReplicationConfigMissing-217]
    	_ = x[ErrSiteReplicationIAMConfigMismatch-218]
    	_ = x[ErrAdminRebalanceAlreadyStarted-219]
    	_ = x[ErrAdminRebalanceNotStarted-220]
    	_ = x[ErrAdminBucketQuotaExceeded-221]
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 21.6K bytes
    - Viewed (0)
Back to top