Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1761 - 1770 of 4,221 for Avoid (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAtIndexTester.java

      @ListFeature.Require(absent = SUPPORTS_REMOVE_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveAtIndex_unsupported() {
        assertThrows(UnsupportedOperationException.class, () -> getList().remove(0));
        expectUnchanged();
      }
    
      @ListFeature.Require(SUPPORTS_REMOVE_WITH_INDEX)
      public void testRemoveAtIndex_negative() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().remove(-1));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

         */
        @Override
        public void setFileId(final byte[] fileId) {
            this.fileId = fileId;
        }
    
        /**
         * Sets the file information class for the directory query
         *
         * @param fileInformationClass
         *            the fileInformationClass to set
         */
        public void setFileInformationClass(final byte fileInformationClass) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

       */
      protected void resetCollection() {
        resetContainer();
      }
    
      /**
       * @return an array of the proper size with {@code null} inserted into the middle element.
       */
      protected E[] createArrayWithNullElement() {
        E[] array = createSamplesArray();
        array[getNullLocation()] = null;
        return array;
      }
    
      protected void initCollectionWithNullElement() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java

    class ArtifactUtilsTest {
    
        private Artifact newArtifact(String aid) {
            return new DefaultArtifact("group", aid, VersionRange.createFromVersion("1.0"), "test", "jar", "tests", null);
        }
    
        @Test
        void testIsSnapshot() {
            assertFalse(ArtifactUtils.isSnapshot(null));
            assertFalse(ArtifactUtils.isSnapshot(""));
            assertFalse(ArtifactUtils.isSnapshot("1.2.3"));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/log/Logger.java

         *            Exception
         */
        public void debug(final Object message, final Throwable throwable) {
            if (isDebugEnabled()) {
                log.debug(toString(message), throwable);
            }
        }
    
        /**
         * Outputs DEBUG information.
         *
         * @param message
         *            Message
         */
        public void debug(final Object message) {
            if (isDebugEnabled()) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacLogonInfoTest.java

        private SID userSid;
    
        @BeforeEach
        void setUp() throws Exception {
            domainSid = new SID("S-1-5-21-1-2-3");
            userSid = new SID("S-1-5-21-1-2-3-1000");
        }
    
        private void writeLittleEndianShort(DataOutputStream dos, short value) throws IOException {
            dos.writeShort(Short.reverseBytes(value));
        }
    
        private void writeLittleEndianInt(DataOutputStream dos, int value) throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/transport/TransportExceptionTest.java

    import jcifs.CIFSException;
    
    /**
     * Test class for TransportException
     */
    public class TransportExceptionTest {
    
        @Test
        @DisplayName("Test default constructor creates exception with null message")
        public void testDefaultConstructor() {
            // Create exception with default constructor
            TransportException exception = new TransportException();
    
            // Verify the exception is created and has no message
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java

         * @param maxAccessCount The maximum access count.
         */
        public void setMaxAccessCount(final long maxAccessCount) {
            this.maxAccessCount = maxAccessCount;
        }
    
        /**
         * Adds sitemaps to the thread-local storage.
         * @param sitemaps An array of sitemap URLs.
         */
        public void addSitemaps(final String[] sitemaps) {
            sitemapsLocal.set(sitemaps);
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

         */
        public void incrementRequestsSent() {
            requestsSent.incrementAndGet();
        }
    
        /**
         * Increment requests received counter
         */
        public void incrementRequestsReceived() {
            requestsReceived.incrementAndGet();
        }
    
        /**
         * Increment error counter
         */
        public void incrementErrors() {
            errors.incrementAndGet();
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/CredentialsInternalTest.java

            @Test
            @DisplayName("returns provided subject")
            void subject_non_null() {
                Subject s = new Subject();
                TestCredentials creds = new TestCredentials("X", false, false, s, false);
                assertSame(s, creds.getSubject());
            }
    
            @Test
            @DisplayName("allows null subject")
            void subject_null() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top