- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 8,426 for clase (0.04 sec)
-
android/guava-tests/test/com/google/common/io/FilesTest.java
File asciiFile = getTestFile("ascii.txt"); assertThrows(NullPointerException.class, () -> Files.newReader(asciiFile, null)); assertThrows(NullPointerException.class, () -> Files.newReader(null, UTF_8)); BufferedReader r = Files.newReader(asciiFile, US_ASCII); try { assertEquals(ASCII, r.readLine()); } finally { r.close(); } } public void testNewWriter() throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 22.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ResourcesTest.java
assertThrows(IllegalArgumentException.class, () -> Resources.getResource("no such resource")); } finally { Thread.currentThread().setContextClassLoader(oldContextLoader); } } @AndroidIncompatible // .class files aren't available public void testNulls() { new NullPointerTester() .setDefault(URL.class, classfile(ResourcesTest.class)) .testAllPublicStaticMethods(Resources.class);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
* it easy to get sample values to use in such tests. * * This class is pretty fast and loose with default values: it attempts to provide values that are * well-formed, but doesn't guarantee values are internally consistent. Callers must take care to * configure the factory when sample values impact the correctness of the test. */ class TestValueFactory : Closeable {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 7.7K bytes - Viewed (0) -
docs/en/docs/contributing.md
There is a script that you can run that will format and clean all your code: <div class="termy"> ```console $ bash scripts/format.sh ``` </div> It will also auto-sort all your imports. ## Tests There is a script that you can run locally to test all the code and generate coverage reports in HTML: <div class="termy"> ```console $ bash scripts/test-cov-html.sh ``` </div>
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Aug 25 02:44:06 UTC 2024 - 12.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java
assertThrows( ChecksumFailedException.class, () -> wagonManager.getArtifact(artifact, repo, null, false), "Checksum verification did not fail"); wagon.clearExpectedContent(); wagon.addExpectedContent("path", "lower-case-checksum"); wagon.addExpectedContent("path.md5", "50b2cf50a103a965efac62b983035cac");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.4K bytes - Viewed (0) -
clause/limit_test.go
}, { []clause.Interface{clause.Select{}, clause.From{}, clause.Limit{Limit: &limit0}}, "SELECT * FROM `users` LIMIT ?", []interface{}{limit0}, }, { []clause.Interface{clause.Select{}, clause.From{}, clause.Limit{Limit: &limit0}, clause.Limit{Offset: 0}}, "SELECT * FROM `users` LIMIT ?", []interface{}{limit0}, }, { []clause.Interface{clause.Select{}, clause.From{}, clause.Limit{Offset: 20}},
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Feb 06 02:54:40 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ReaderInputStream.java
charBuffer = CharBuffer.allocate(bufferSize); Java8Compatibility.flip(charBuffer); byteBuffer = ByteBuffer.allocate(bufferSize); } @Override public void close() throws IOException { reader.close(); } @Override public int read() throws IOException { return (read(singleByte) == 1) ? UnsignedBytes.toInt(singleByte[0]) : -1; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 9.3K bytes - Viewed (0) -
guava/src/com/google/common/io/ReaderInputStream.java
charBuffer = CharBuffer.allocate(bufferSize); Java8Compatibility.flip(charBuffer); byteBuffer = ByteBuffer.allocate(bufferSize); } @Override public void close() throws IOException { reader.close(); } @Override public int read() throws IOException { return (read(singleByte) == 1) ? UnsignedBytes.toInt(singleByte[0]) : -1; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 9.3K bytes - Viewed (0) -
docs/pt/docs/how-to/custom-request-and-route.md
E uma subclasse de `APIRoute` para usar essa classe de requisição personalizada. ### Criar uma classe `GzipRequest` personalizada /// tip | Dica Isso é um exemplo de brincadeira para demonstrar como funciona, se você precisar de suporte para Gzip, você pode usar o [`GzipMiddleware`](../advanced/middleware.md#gzipmiddleware){.internal-link target=_blank} fornecido. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 22 17:33:00 UTC 2024 - 4.9K bytes - Viewed (0) -
guava/src/com/google/common/io/Closer.java
* any exceptions thrown when attempting to close a closeable will be suppressed. Otherwise, the * <i>first</i> exception to be thrown from an attempt to close a closeable will be thrown and any * additional exceptions that are thrown after that will be suppressed. */ @Override public void close() throws IOException { Throwable throwable = thrown; // close closeables in LIFO order while (!stack.isEmpty()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 10.4K bytes - Viewed (0)