Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1661 - 1670 of 4,663 for returned (0.06 sec)

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

                assertEquals("DOM", sid.getDomainName());
                assertEquals("alice", sid.getAccountName());
            }
    
            @Test
            @DisplayName("unwrap returns this for assignable type; otherwise throws ClassCastException")
            void testUnwrap() throws Exception {
                SID sid = new SID("S-1-5-21-1");
                // Happy path
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. migrator.go

    	"gorm.io/gorm/schema"
    )
    
    // Migrator returns migrator
    func (db *DB) Migrator() Migrator {
    	tx := db.getInstance()
    
    	// apply scopes to migrator
    	for len(tx.Statement.scopes) > 0 {
    		tx = tx.executeScopes()
    	}
    
    	return tx.Dialector.Migrator(tx.Session(&Session{}))
    }
    
    // AutoMigrate run auto migration for given models
    func (db *DB) AutoMigrate(dst ...interface{}) error {
    	return db.Migrator().AutoMigrate(dst...)
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java

            return new org.lastaflute.web.servlet.request.SimpleRequestManager() {
                @Override
                public OptionalThing<String> getParameter(String name) {
                    if (paramValue != null) {
                        return OptionalThing.of(paramValue);
                    }
                    return OptionalThing.empty();
                }
            };
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/curl/CurlRequestTest.java

            CurlRequest result = request.body(stream);
    
            assertSame(request, result); // Fluent API
            assertNull(request.body()); // body() returns String body, not stream
        }
    
        @Test
        public void testBodyStringAfterStreamThrowsException() {
            CurlRequest request = new CurlRequest(Method.POST, "https://example.com");
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt

        assertThat(listener.recordedEventTypes()).isEqualTo(expectedEvents)
    
        // Confirm that the connection pool was not corrupted by making another call.
        makeSimpleCall()
      }
    
      /**
       * If the server returns a full response, it doesn't really matter if the HTTP/2 stream is reset.
       * Attempts to write the request body fails fast.
       */
      @Test
      fun serverTruncatesRequestHttp2OnDuplexRequest() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

        void setUp() {
            // MockitoExtension handles mock initialization
            // Type1Message.getDefaultWorkstation() is static, so we can't easily mock it without PowerMock.
            // We will proceed assuming it returns a predictable value or handle it as is.
        }
    
        @Test
        void testConstructor_withSigning() {
            // Test constructor when signing is enabled
            NtlmContext context = new NtlmContext(mockAuth, true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/proxy/NullProxySelector.kt

    import java.net.ProxySelector
    import java.net.SocketAddress
    import java.net.URI
    
    /**
     * A proxy selector that always returns the [Proxy.NO_PROXY].
     */
    object NullProxySelector : ProxySelector() {
      override fun select(uri: URI?): List<Proxy> {
        requireNotNull(uri) { "uri must not be null" }
        return listOf(Proxy.NO_PROXY)
      }
    
      override fun connectFailed(
        uri: URI?,
        sa: SocketAddress?,
        ioe: IOException?,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt

    import java.security.cert.CertificateException
    import javax.net.ssl.SSLException
    import javax.net.ssl.SSLHandshakeException
    import javax.net.ssl.SSLPeerUnverifiedException
    import okio.IOException
    
    /** Returns true if a TLS connection should be retried after [e]. */
    fun retryTlsHandshake(e: IOException): Boolean =
      when {
        // If there was a protocol problem, don't recover.
        e is ProtocolException -> false
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                throw new DictionaryException("Failed to parse " + path, e);
            }
        }
    
        /**
         * Returns the simple name of the file.
         *
         * @return The simple name of the file.
         */
        public String getSimpleName() {
            return new File(path).getName();
        }
    
        /**
         * Updates the dictionary file with the given input stream.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeInternal.java

         */
        @Deprecated
        void connectLogon(CIFSContext tf) throws SmbException;
    
        /**
         * Sends an SMB request and returns the response
         * @param <T> the response type
         * @param request the request to send
         * @param params optional request parameters
         * @return response message
         * @throws CIFSException if an error occurs sending the request
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top