Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1511 - 1520 of 4,254 for avoid (0.02 sec)

  1. android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

      }
    
      @Test
      public void copyOfImmutableValueGraph_optimized() {
        ValueGraph<String, Integer> graph1 =
            ImmutableValueGraph.copyOf(ValueGraphBuilder.directed().<String, Integer>build());
        ValueGraph<String, Integer> graph2 = ImmutableValueGraph.copyOf(graph1);
    
        assertThat(graph2).isSameInstanceAs(graph1);
      }
    
      @Test
      public void incidentEdgeOrder_stable() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 17:09:51 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java

    /**
     * Bridges between Maven3 events and Maven4 events.
     */
    @Named
    @Singleton
    public class EventSpyImpl implements EventSpy {
        @Override
        public void init(Context context) throws Exception {}
    
        @Override
        public void onEvent(Object arg) throws Exception {
            if (arg instanceof ExecutionEvent ee) {
                InternalMavenSession session =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 29 20:53:26 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java

            public InputStream getLastValidatedStream() {
                return lastValidatedStream;
            }
    
            public void resetTestState() {
                validateCalled = false;
                lastValidatedStream = null;
            }
    
            // Expose protected method for testing
            public void testValidateInputStream(final InputStream in) {
                validateInputStream(in);
            }
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

            }
          }
        },
        RANDOM {
          @Override
          void arrange(List<Integer> list) {}
        };
    
        abstract void arrange(List<Integer> list);
      }
    
      private ImmutableList<Integer> input;
    
      @BeforeExperiment
      void setUp() {
        checkArgument(size > 0, "empty collection not supported");
        Set<Integer> set = new LinkedHashSet<>(size);
    
        Random random = new Random();
        while (set.size() < size) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/SearchRenderData.java

         */
        public void setDocumentItems(final List<Map<String, Object>> documentItems) {
            this.documentItems = documentItems;
        }
    
        /**
         * Sets the facet response containing aggregated search facets.
         *
         * @param facetResponse The facet response
         */
        public void setFacetResponse(final FacetResponse facetResponse) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTransportInternalTest.java

        private jcifs.DfsReferralData referral;
    
        @BeforeEach
        void resetMocks() {
            Mockito.reset(transport, ctx, session, referral);
        }
    
        // Happy path: hasCapability returns based on provided capability codes
        @ParameterizedTest
        @DisplayName("hasCapability returns expected values for various caps")
        @ValueSource(ints = { -1, 0, 1, 1024 })
        void hasCapability_variousCaps(int cap) throws SmbException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/util/SMBUtilTest.java

                "16777215, 16777215" })
        void testWriteReadInt2RoundTrip(long input, int expected) {
            byte[] buffer = new byte[4];
            SMBUtil.writeInt2(input, buffer, 0);
            int result = SMBUtil.readInt2(buffer, 0);
            assertEquals(expected & 0xFFFF, result);
        }
    
        @ParameterizedTest
        @ValueSource(longs = { 0L, 1L, 0xFFFFFFFFL, 0x12345678L, 0x80000000L })
        void testWriteReadInt4RoundTrip(long input) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/exception/SIllegalStateExceptionTest.java

     */
    public class SIllegalStateExceptionTest {
    
        /**
         * Test method for
         * {@link org.codelibs.core.exception.ClIllegalStateException#SIllegalStateException()}
         * .
         */
        @Test
        public void testSIllegalStateException() {
            final ClIllegalStateException clIllegalStateException = new ClIllegalStateException();
            assertThat(clIllegalStateException, is(notNullValue()));
    
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultisetEqualsTester.java

    public class MultisetEqualsTester<E> extends AbstractMultisetTester<E> {
      public void testEqualsSameContents() {
        new EqualsTester()
            .addEqualityGroup(
                getMultiset(), getSubjectGenerator().create(getSampleElements().toArray()))
            .testEquals();
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testNotEqualsEmpty() {
        new EqualsTester()
            .addEqualityGroup(getMultiset())
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

         */
        @Test
        public void testLoadPropertiesUrl() {
            final Properties properties = new Properties();
            PropertiesUtil.load(properties, url);
            assertThat(properties.getProperty("a"), is("A"));
        }
    
        /**
         * {@link org.codelibs.core.io.PropertiesUtil#load(Properties, URL)}
         */
        @Test
        public void testLoadPropertiesUrlThrowIOException() {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top