Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 979 for directed (0.04 sec)

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

            // Arrange: spy to verify internal interaction with checkRelease()
            CIFSContext ctx = mock(CIFSContext.class);
            SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx));
    
            // Act: directly invoke finalize to simulate GC finalization path
            trace.finalize();
    
            // Assert: verify that finalize delegated to checkRelease()
            verify(trace, times(1)).checkRelease();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

            return new ExtractData(extractString(content));
        }
    
        /**
         * Detects the encoding of the input stream.
         * @param bis The buffered input stream.
         * @return The detected encoding.
         */
        protected String getEncoding(final BufferedInputStream bis) {
            final byte[] b = new byte[preloadSizeForCharset];
            try {
                bis.mark(preloadSizeForCharset);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

    import org.jspecify.annotations.Nullable;
    import org.junit.Ignore;
    
    /**
     * Tester for {@link Multimap#put}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

    import org.jspecify.annotations.Nullable;
    import org.junit.Ignore;
    
    /**
     * Tester for {@link Multimap#put}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/context/SingletonContextTest.java

            System.setProperty("jcifs.properties", nonExistentPath.toString());
    
            // Expect no exception to be thrown, but an error logged (which we can't directly assert here)
            assertDoesNotThrow(() -> SingletonContext.init(null));
            assertNotNull(SingletonContext.getInstance()); // Should still initialize
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

     * Tests for {@link SmbComLockingAndX}.  The source class exposes
     * its wire-format helpers as protected methods and its internal state
     * is stored in private fields; tests make use of the same package to
     * access those members directly.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbComLockingAndXTest {
    
        /**
         * Helper for setting a field via reflection.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                SMBUtil.writeInt8(456L, buffer, 40); // session ID
    
                customMessage.setBytesRead(10);
                customMessage.decode(buffer, 0);
    
                // Can't directly test protected method, but decode should work without exception
                assertTrue(customMessage.getLength() > 0);
            }
        }
    
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTests {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  8. api/maven-api-settings/src/main/mdo/settings.mdo

                Specifies that this profile will be activated when a matching JDK is detected.
              </description>
            </field>
            <field>
              <name>os</name>
              <version>1.0.0+</version>
              <description>
                Specifies that this profile will be activated when matching OS attributes are detected.
              </description>
              <association>
                <type>ActivationOS</type>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableMap.java

          return this;
        }
    
        private ImmutableMap<K, V> build(boolean throwIfDuplicateKeys) {
          /*
           * If entries is full, or if hash flooding is detected, then this implementation may end up
           * using the entries array directly and writing over the entry objects with non-terminal
           * entries, but this is safe; if this Builder is used further, it will grow the entries array
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

        allocateAndLeakAllocation(poolApi, c1)
        awaitGarbageCollection()
        assertThat(pool.closeConnections(100L)).isEqualTo(0L)
        assertThat(c1.calls).isEmpty()
    
        // Can't allocate once a leak has been detected.
        assertThat(c1.noNewExchanges).isTrue()
      }
    
      @Test fun interruptStopsThread() {
        val taskRunnerThreads = mutableListOf<Thread>()
        val taskRunner =
          TaskRunner(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 12.9K bytes
    - Viewed (0)
Back to top