- Sort Score
- Result 10 results
- Languages All
Results 3341 - 3350 of 4,820 for If (0.16 sec)
-
android/guava/src/com/google/common/hash/PrimitiveSink.java
* * @param bytes a byte array * @param off the start offset in the array * @param len the number of bytes to write * @return this instance * @throws IndexOutOfBoundsException if {@code off < 0} or {@code off + len > bytes.length} or * {@code len < 0} */ @CanIgnoreReturnValue PrimitiveSink putBytes(byte[] bytes, int off, int len); /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/en/docs/how-to/extending-openapi.md
It just returns a JSON response with the result of the application's `.openapi()` method. By default, what the method `.openapi()` does is check the property `.openapi_schema` to see if it has contents and return them. If it doesn't, it generates them using the utility function at `fastapi.openapi.utils.get_openapi`. And that function `get_openapi()` receives as parameters: * `title`: The OpenAPI title, shown in the docs.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/sql/StatementUtil.java
/** * Closes the {@link Statement}. * <p> * If {@link Statement#close()} throws an exception, an error message is logged. The exception is not rethrown. * </p> * * @param statement * {@link Statement} * @see Statement#close() */ public static void close(final Statement statement) { if (statement == null) { return; } try {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt
box.write(buffer, 1) result.write(box.copy(), 1) } return result } tailrec fun File.isDescendentOf(directory: File): Boolean { val parentFile = parentFile ?: return false if (parentFile == directory) return true return parentFile.isDescendentOf(directory) } /** * See FinalizationTester for discussion on how to best trigger GC in tests.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.session; import jcifs.CIFSContext;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
void messageOnlyConstructor_setsMessage_andUnsuccessfulStatus(String msg) { // Arrange & Act SMBSignatureValidationException ex = new SMBSignatureValidationException(msg); // Assert if (msg == null) { assertNull(ex.getMessage(), "Null message should remain null"); } else { assertEquals(msg, ex.getMessage(), "Message should be stored as provided"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt
) }, ).containsExactly( "--> GET http://google.com/robots.txt", "<-- HTTP FAILED: java.net.UnknownHostException: shortcircuit. ${request.url} (ms)", ) // We should consider if these logs should retain Exceptions assertThat(logs.last().throwable).isNull() } @Test fun testLoggingEventListener() { val client = clientBuilder.eventListenerFactory(LoggingEventListener.Factory()).build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 3.2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt
apply { actions += { stream -> val actual = stream.source.readUtf8(expected.utf8Size()) if (actual != expected) throw AssertionError("$actual != $expected") } } fun exhaustRequest() = apply { actions += { stream -> if (!stream.source.exhausted()) throw AssertionError("expected exhausted") } } fun cancelStream() = apply {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 3.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java
// Avoid expectEquals() here to delay reason manufacture until necessary. if (getList().size() != expectedList.size()) { fail("size mismatch: " + reportContext(expectedList)); } for (int i = 0; i < expectedList.size(); i++) { E expected = expectedList.get(i); E actual = getList().get(i); if (expected != actual && (expected == null || !expected.equals(actual))) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponse.java
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb1.trans.nt; import java.io.IOException; import jcifs.Configuration;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0)