Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1071 - 1080 of 2,945 for methods (0.14 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          return ContiguousSet.create(range, DiscreteDomain.integers());
        }
      }
    
      /**
       * Useless constructor for a class of static utility methods.
       *
       * @deprecated Do not instantiate this utility class.
       */
      @Deprecated
      public SetGenerators() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java

            }
        }
    
        // ===================================================================================
        //                                                                      Helper Methods
        //                                                                      ==============
    
        private FessAdminAction createAction() {
            return new FessAdminAction() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/Equivalence.java

       * subject to the requirements specified in {@link #equivalent}.
       *
       * <p>This method should not be called except by {@link #equivalent}. When {@link #equivalent}
       * calls this method, {@code a} and {@code b} are guaranteed to be distinct, non-null instances.
       *
       * @since 10.0 (previously, subclasses would override equivalent())
       */
      @ForOverride
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 10 01:47:55 GMT 2025
    - 15K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            // Decode
            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify
            assertEquals(expectedFilename, fileBothDirectoryInfo.getFilename());
        }
    
        // Helper methods to create valid buffer data
        private byte[] createValidBuffer(String filename, String shortName, boolean unicode) {
            int filenameLength = unicode ? filename.length() * 2 : filename.length();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.9K bytes
    - Click Count (0)
Back to Top