Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 36 for 216 (0.01 seconds)

  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})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. .github/workflows/update-rbe.yml

            map sigbuild-r2.14-clang-python3.11 2.14-python3.11
            # TF 2.16
            map sigbuild-r2.16 2.16-python3.11
            map sigbuild-r2.16-python3.9 2.16-python3.9
            map sigbuild-r2.16-python3.10 2.16-python3.10
            map sigbuild-r2.16-python3.11 2.16-python3.11
            map sigbuild-r2.16-python3.12 2.16-python3.12
            # TF 2.16 + Clang (containers are the same, but env vars in configs.bzl are different)
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Dec 01 09:57:00 GMT 2025
    - 7.2K bytes
    - Click Count (1)
  3. 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})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Aug 25 21:44:40 GMT 2022
    - 2.8K bytes
    - Click Count (0)
  4. 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();
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 18.4K bytes
    - Click Count (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() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  6. 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() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.2K bytes
    - Click Count (0)
  7. 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:
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 16:36:11 GMT 2025
    - 5.8K bytes
    - Click Count (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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7K bytes
    - Click Count (0)
  9. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7K bytes
    - Click Count (0)
  10. 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")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
Back to Top