Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 2,464 for method (1.22 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

        @Test
        @DisplayName("Test createResponse method")
        void testCreateResponse() {
            request = new Smb2SetInfoRequest(mockConfig);
    
            Smb2SetInfoResponse response = request.createResponse(mockContext, request);
    
            assertNotNull(response);
            verify(mockContext, times(1)).getConfig();
        }
    
        @Test
        @DisplayName("Test size method")
        void testSize() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/CrawlerContainer.java

    import org.codelibs.core.lang.StringUtil;
    
    /**
     * The CrawlerContainer interface provides methods for managing components
     * within a crawler container. It includes methods to retrieve components,
     * check availability, and destroy the container. Additionally, it provides
     * a default method to initialize the container with specific protocol handlers.
     *
     */
    public interface CrawlerContainer {
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            assertArrayEquals(unicodeHash, auth.getUnicodeHash(challenge));
        }
    
        // Test getName method
        @Test
        void testGetName() {
            NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("DOMAIN", "user", "password");
            assertEquals("DOMAIN\\user", auth.getName());
        }
    
        // Test getName method with default domain
        @Test
        void testGetNameWithDefaultDomain() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbTransportTest.java

            verify(smbTransport).unwrap(SmbTransport.class); // Verify that the method was called
        }
    
        @Test
        void testClose() throws Exception {
            // Act
            smbTransport.close();
    
            // Assert
            verify(smbTransport).close(); // Verify that the close method was called
        }
    
        @Test
        void testGetRemoteAddress() {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/VersionConstraint.java

         * <p>
         * Note: only one, this method or {@link #getRecommendedVersion()} method must return non-{@code null} value.
         */
        @Nullable
        VersionRange getVersionRange();
    
        /**
         * Returns the recommended version of this constraint, or {@code null} if none.
         * <p>
         * Note: only one, this method or {@link #getVersionRange()} method must return non-{@code null} value.
         */
        @Nullable
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            assertEquals(0, bytesResult);
        }
    
        @Test
        @DisplayName("Test toString method")
        void testToString() {
            String result = transaction.toString();
    
            assertNotNull(result);
            // The toString method from parent class returns SMB_COM_TRANSACTION, not SmbComTransaction
            assertTrue(result.contains("SMB_COM_TRANSACTION"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  7. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

    import okio.sink
    
    internal fun Main.commonCreateRequest(): Request {
      val request = Request.Builder()
    
      val requestMethod = method ?: if (data != null) "POST" else "GET"
    
      val url = url ?: throw IOException("No url provided")
    
      request.url(url)
    
      data?.let {
        request.method(requestMethod, it.toRequestBody(mediaType()))
      }
    
      for (header in headers.orEmpty()) {
        val parts = header.split(':', limit = 2)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            return isAnnotatedWithIncubating(clazz)
        }
    
        private boolean isIncubatingOrOverrideMethod(JApiMethod method) {
            return isAnnotatedWithIncubating(method) || isAnnotatedWithIncubating(method.jApiClass) || isOverride(method)
        }
    
        private static boolean isIncubatingField(JApiField field) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 30 10:14:25 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/Network.java

       *
       * <p>This is equal to the union of {@link #inEdges(Object)} and {@link #outEdges(Object)}.
       *
       * <p>If {@code node} is removed from the network after this method is called, the {@code Set}
       * {@code view} returned by this method will be invalidated, and will throw {@code
       * IllegalStateException} if it is accessed in any way, with the following exceptions:
       *
       * <ul>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 17.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Ints.java

        return value;
      }
    
      /**
       * Returns the {@code int} value that is equal to {@code value}, if possible.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Use {@link
       * Math#toIntExact(long)} instead, but be aware that that method throws {@link
       * ArithmeticException} rather than {@link IllegalArgumentException}.
       *
       * @param value any value in the range of the {@code int} type
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 31.3K bytes
    - Viewed (0)
Back to top