- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 388 for typing (0.3 sec)
-
gorm.go
ConnPool: db.ConnPool, Context: context.Background(), Clauses: map[string]clause.Clause{}, } if err == nil && !config.DisableAutomaticPing { if pinger, ok := db.ConnPool.(interface{ Ping() error }); ok { err = pinger.Ping() } } if err != nil { config.Logger.Error(context.Background(), "failed to initialize database, got error %v", err) } return } // Session create new db session
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 26 06:24:29 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
// Create a real NdrBuffer mock that can handle the deferred field access // But only test the non-deferred parts to avoid field mocking issues // When: Trying to encode (may throw exception due to deferred buffer) // Then: Should at least call the basic encoding methods before hitting deferred assertThrows(Exception.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
// Mock address for testing Address mockAddress = Mockito.mock(Address.class); Mockito.when(mockAddress.getHostAddress()).thenReturn("127.0.0.1"); // Start timing long overallStart = System.nanoTime(); for (int t = 0; t < threadCount; t++) { executor.submit(() -> { try { startLatch.await();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
You could need to tell the client that: * The client doesn't have enough privileges for that operation. * The client doesn't have access to that resource. * The item the client was trying to access doesn't exist. * etc. In these cases, you would normally return an **HTTP status code** in the range of **400** (from 400 to 499).
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
Field headerStartField = ServerMessageBlock2.class.getDeclaredField("headerStart"); headerStartField.setAccessible(true); headerStartField.set(response, 0); // When & Then - should throw when trying to read beyond buffer assertThrows(ArrayIndexOutOfBoundsException.class, () -> response.readBytesWireFormat(smallBuffer, bodyStart)); } @Test @DisplayName("Should handle Reserved2 field correctly")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
// Read the three data bytes assertEquals(1, sis.read()); assertEquals(2, sis.read()); assertEquals(3, sis.read()); // After consuming all data, trying to read again will attempt to read // another packet header, but since there's no more data, it will throw IOException assertThrows(IOException.class, () -> sis.read()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
ci/official/utilities/code_check_full.bats
# toolchain format (or something) that specifies the toolchain directly instead # of as a "repository". They can't be valid on Linux because Linux can't do # anything with a Windows-only toolchain, and bazel errors if trying to build # that directory. @test "bazel nobuild passes on all of TF except TF Lite and win toolchains" {
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Wed Aug 06 20:43:08 UTC 2025 - 13.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
return found; } } IOException ex = null; for (final Address addr : addrs) { if (log.isDebugEnabled()) { log.debug("Trying address {}", addr); } try (SmbTransportImpl trans = getSmbTransport(tf, addr, port, exclusive, forceSigning).unwrap(SmbTransportImpl.class)) { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt
assert200Http2Response(execute(sanUrl), "san.com") assertThat(client.connectionPool.connectionCount()).isEqualTo(1) } /** * This is an extraordinary test case. Here's what it's trying to simulate. * - 2 requests happen concurrently to a host that can be coalesced onto a single connection. * - Both request discover no existing connection. They both make a connection.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jun 19 11:44:16 UTC 2025 - 19.1K bytes - Viewed (0) -
android/pom.xml
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Sep 04 21:35:58 UTC 2025 - 24.3K bytes - Viewed (0)