Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1541 - 1550 of 2,109 for collect (0.04 sec)

  1. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            // Arrange: spy on instance to force connect() failure with specific exception
            CIFSContext ctx = mock(CIFSContext.class);
            SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx));
            doThrow(thrown).when(trace).connect(loc);
    
            // Act & Assert: both UnknownHostException and IOException should become CIFSException (SmbException)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  2. tests/transaction_test.go

    		t.Fatalf("Should find saved record")
    	}
    }
    
    func TestTransactionOnClosedConn(t *testing.T) {
    	DB, err := OpenTestConnection(&gorm.Config{})
    	if err != nil {
    		t.Fatalf("failed to connect database, got error %v", err)
    	}
    	rawDB, _ := DB.DB()
    	rawDB.Close()
    
    	if err := DB.Transaction(func(tx *gorm.DB) error {
    		return nil
    	}); err == nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

            dcerpcBinding.setOption("endpoint", endpoint);
            dcerpcBinding.setOption("connect", "80");
            String result = dcerpcBinding.toString();
            assertTrue(result.startsWith(PROTO + ":" + SERVER + "[" + endpoint + ","), "toString should start correctly with endpoint.");
            assertTrue(result.contains("connect=80"), "toString should contain connect option.");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

        protected DcerpcSecurityProvider securityProvider = null;
        private static int call_id = 1;
    
        /**
         * Gets a DCERPC handle for the specified URL and authentication
         * @param url the DCERPC URL to connect to
         * @param auth the NTLM authentication credentials
         * @return a DCERPC handle for the connection
         * @throws UnknownHostException if the host cannot be resolved
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

      val userAgent: String by option(
        "-A",
        "--user-agent",
      ).help(
        "User-Agent to send to server",
      ).default(NAME + "/" + versionString())
    
      val connectTimeout: Int by option(
        "--connect-timeout",
      ).help(
        "Maximum time allowed for connection (seconds)",
      ).int()
        .default(DEFAULT_TIMEOUT)
    
      val readTimeout: Int by option("--read-timeout")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java

     *   <li>Conversion of individual Hankaku Kana characters to Zenkaku Kana characters.</li>
     *   <li>Handling of voiced (゙) and semi-voiced (゚) sound marks to produce the correct Zenkaku Kana characters.</li>
     * </ul>
     *
     * <p>Example usage:</p>
     * <pre>
     * {@code
     * HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

    import org.lastaflute.web.login.credential.LoginCredential;
    
    /**
     * OpenID Connect credential implementation.
     */
    public class OpenIdConnectCredential implements LoginCredential, FessCredential {
    
        private final Map<String, Object> attributes;
    
        /**
         * Creates a new OpenID Connect credential.
         *
         * @param attributes the attributes from OpenID Connect provider
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer2.length, "Reused buffer should have correct size");
    
            // Note: We don't check if content is cleared as that's not a security requirement
            // The important part is that the buffer is valid and has correct size
        }
    
        /**
         * Test getBuffers method for transaction buffers.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosConstantsTest.java

            assertEquals("5", KerberosConstants.KERBEROS_VERSION, "KERBEROS_VERSION should have the correct value.");
            assertEquals(23, KerberosConstants.RC4_ENC_TYPE, "RC4_ENC_TYPE should have the correct value.");
            assertEquals("HmacMD5", KerberosConstants.HMAC_ALGORITHM, "HMAC_ALGORITHM should have the correct value.");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.1K bytes
    - Viewed (1)
  10. src/test/java/jcifs/SmbTreeHandleTest.java

            assertThrows(CIFSException.class, () -> smbTreeHandle.close(), "close() should throw CIFSException");
        }
    
        /**
         * Test for isConnected() method.
         * Verifies that the method returns the correct connected status.
         */
        @Test
        void testIsConnected() {
            when(smbTreeHandle.isConnected()).thenReturn(true);
            assertTrue(smbTreeHandle.isConnected(), "isConnected() should return true");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top