Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 580 for Open (0.05 sec)

  1. tests/test_tutorial/test_request_files/test_tutorial002.py

        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    
        client = TestClient(app)
        with path.open("rb") as file, path2.open("rb") as file2:
            response = client.post(
                "/files/",
                files=(
                    ("files", ("test.txt", file)),
                    ("files", ("test2.txt", file2)),
                ),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        assertTrue(rangeSet.intersects(Range.open(5, 8)));
        assertFalse(rangeSet.intersects(Range.closed(3, 4)));
        assertTrue(rangeSet.intersects(Range.greaterThan(5)));
        assertFalse(rangeSet.intersects(Range.greaterThan(8)));
    
        assertTrue(rangeSet.encloses(Range.closed(1, 2)));
        assertTrue(rangeSet.encloses(Range.open(5, 8)));
        assertFalse(rangeSet.encloses(Range.closed(1, 8)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/SortedMultisets.java

          return multiset().subMultiset(fromElement, CLOSED, toElement, OPEN).elementSet();
        }
    
        @Override
        public SortedSet<E> headSet(@ParametricNullness E toElement) {
          return multiset().headMultiset(toElement, OPEN).elementSet();
        }
    
        @Override
        public SortedSet<E> tailSet(@ParametricNullness E fromElement) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_request_files/test_tutorial003_an.py

        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    
        client = TestClient(app)
        with path.open("rb") as file, path2.open("rb") as file2:
            response = client.post(
                "/files/",
                files=(
                    ("files", ("test.txt", file)),
                    ("files", ("test2.txt", file2)),
                ),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Range.java

     * endpoint) or <i>closed</i> (includes the endpoint) on that side. With three possibilities on each
     * side, this yields nine basic types of ranges, enumerated below. (Notation: a square bracket
     * ({@code [ ]}) indicates that the range is closed on that side; a parenthesis ({@code ( )}) means
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_request_files/test_tutorial003_py39.py

        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    
        client = TestClient(app)
        with path.open("rb") as file, path2.open("rb") as file2:
            response = client.post(
                "/files/",
                files=(
                    ("files", ("test.txt", file)),
                    ("files", ("test2.txt", file2)),
                ),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/configurations/BaseGradleBuildType.kt

    import common.Os
    import jetbrains.buildServer.configs.kotlin.BuildType
    import model.Stage
    
    open class BaseGradleBuildType(
        open val stage: Stage? = null,
        open val failStage: Boolean = true,
        init: BaseGradleBuildType.() -> Unit = {}
    ) : BuildType() {
        init {
            this.init()
        }
    }
    
    open class OsAwareBaseGradleBuildType(
        val os: Os,
        override val stage: Stage? = null,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 18 07:02:47 UTC 2024
    - 558 bytes
    - Viewed (0)
  8. tests/test_tutorial/test_request_files/test_tutorial002_an.py

        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    
        client = TestClient(app)
        with path.open("rb") as file, path2.open("rb") as file2:
            response = client.post(
                "/files/",
                files=(
                    ("files", ("test.txt", file)),
                    ("files", ("test2.txt", file2)),
                ),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/10_contributor_bug_report.yml

            Please open Android-related issues on [the Android Issue Tracker](https://source.android.com/source/report-bugs)
            Please open IntelliJ-related issues on [the JetBrains Issue Tracker](https://youtrack.jetbrains.com/newIssue?project=IDEA)
            Please open Gradle Native-related issues on [the Gradle Native repository](https://github.com/gradle/gradle-native/issues)
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 09 14:48:49 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_request_files/test_tutorial001.py

                    }
                ]
            }
        )
    
    
    def test_post_file(tmp_path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    def test_post_large_file(tmp_path):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top