Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 861 - 870 of 2,369 for methods (0.15 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            Method method = getSuperclassMethod(response.getClass(), "getNumEntries");
            method.setAccessible(true);
            return (int) method.invoke(response);
        }
    
        private void setNumEntries(NetShareEnumResponse response, int value) throws Exception {
            Method method = getSuperclassMethod(response.getClass(), "setNumEntries", int.class);
            method.setAccessible(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/curl/CurlRequest.java

        /**
         * Constructs a new CurlRequest with the specified HTTP method.
         *
         * @param method the HTTP method
         * @throws IllegalArgumentException if method is null
         */
        public CurlRequest(final Method method) {
            if (method == null) {
                throw new IllegalArgumentException("method must not be null");
            }
            this.method = method;
        }
    
        /**
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  3. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          return;
        }
        fail("Should get not equal to equal object error");
      }
    
      /**
       * Test for an invalid hashCode method, i.e., one that returns different value for objects that
       * are equal according to the equals method
       */
      public void testInvalidHashCode() {
        Object a = new InvalidHashCodeObject(1, 2);
        Object b = new InvalidHashCodeObject(1, 2);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/math/Quantiles.java

         *     be arbitrarily reordered by this method call
         * @return an unmodifiable, ordered map of results: the keys will be the specified quantile
         *     indexes, and the values the corresponding quantile values. When iterating, entries in the
         *     map are ordered by quantile index in the same order that the indexes were passed to the
         *     {@code indexes} method.
         */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 30.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbFileTest.java

        private Credentials mockCredentials;
    
        private URL url;
    
        private SmbFile smbFile;
    
        @BeforeEach
        public void setUp() throws MalformedURLException, CIFSException {
            // Mock configuration methods
            when(mockConfig.getPid()).thenReturn(1234);
            when(mockCifsContext.getConfig()).thenReturn(mockConfig);
    
            // Mock credentials to prevent NPE
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/Files.java

       * old Android Ice Cream Sandwich release), then this method throws an exception instead of
       * creating a directory that would be more accessible. (This behavior is new in Guava 32.0.0.
       * Previous versions would create a directory that is more accessible, as discussed in <a
       * href="https://github.com/google/guava/issues/4011">CVE-2020-8908</a>.)
       *
       * <p>Use this method instead of {@link File#createTempFile(String, String)} when you wish to
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java

            } catch (ConfigPropertyNotFoundException e) {
                assertEquals("non.existent.property", e.getMessage());
            }
        }
    
        // Test isExtensionAllowed method
        /*
        // Commented out - methods don't exist in FessConfig
        @Test
        public void test_isExtensionAllowed() {
            assertTrue(fessConfig.isExtensionAllowed("jpg"));
            assertTrue(fessConfig.isExtensionAllowed("jpeg"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.6K bytes
    - Click Count (0)
  8. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

    import java.util.HashMap;
    import java.util.Map;
    
    import jcifs.util.Encdec;
    import jcifs.util.Strings;
    
    /**
     * NDR (Network Data Representation) buffer for encoding and decoding DCE/RPC messages.
     * This class provides methods for reading and writing primitive types and strings
     * in NDR format for DCE/RPC communication.
     */
    public class NdrBuffer {
    
        private int referent;
        private Map<Object, Entry> referents;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/Suppliers.java

    import java.io.Serializable;
    import java.time.Duration;
    import java.util.Objects;
    import java.util.concurrent.TimeUnit;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Useful suppliers.
     *
     * <p>All methods return serializable suppliers as long as they're given serializable parameters.
     *
     * @author Laurence Gonsalves
     * @author Harry Heymann
     * @since 2.0
     */
    @GwtCompatible
    public final class Suppliers {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 21:24:28 GMT 2026
    - 16.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

            String slackResult = notificationHelper.toSlackMessage(discloser);
            String googleChatResult = notificationHelper.toGoogleChatMessage(discloser);
    
            // Both methods should produce identical output
            assertEquals(slackResult, googleChatResult);
        }
    
        @Test
        public void test_toSlackMessage_withLongContent() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 20K bytes
    - Click Count (0)
Back to Top