Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2371 - 2380 of 3,179 for are (0.01 seconds)

  1. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

      public void testEviction_maxWeight_zero() {
        CountingRemovalListener<Integer, Integer> removalListener = countingRemovalListener();
        IdentityLoader<Integer> loader = identityLoader();
    
        // Even numbers are free, odd are too expensive
        Weigher<Integer, Integer> evensOnly = (k, v) -> k % 2;
    
        LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder()
                .concurrencyLevel(1)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            PagingList<CharMappingItem> result = charMappingFile.selectList(0, 10);
            assertEquals(1, result.size());
            CharMappingItem item = result.get(0);
            // Individual input elements are not trimmed after split
            assertArrayEquals(new String[] { "a ", " b" }, item.getInputs());
            assertEquals("c", item.getOutput());
        }
    
        // Test update method with InputStream
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

            assertEquals(SsoResponseType.class, SsoResponseType.LOGOUT.getDeclaringClass());
        }
    
        @Test
        public void test_enumConstantReference() {
            // Test that enum constants are singleton instances
            SsoResponseType metadata1 = SsoResponseType.METADATA;
            SsoResponseType metadata2 = SsoResponseType.valueOf("METADATA");
            assertSame(metadata1, metadata2);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/JSSETest.kt

      var client = clientTestRule.newClient()
    
      @StartStop
      private val server = MockWebServer()
    
      @BeforeEach
      fun setUp() {
        // Default after JDK 14, but we are avoiding tests that assume special setup.
        // System.setProperty("jdk.tls.client.enableSessionTicketExtension", "true")
        // System.setProperty("jdk.tls.server.enableSessionTicketExtension", "true")
    
        platform.assumeJdk9()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java

                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
          throw new AssertionError(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java

                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
          throw new AssertionError(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java

                return bufferAddresses.computeIfAbsent(buffer, b -> addressCounter.getAndIncrement());
            } else {
                throw new IllegalArgumentException("Only direct ByteBuffers are supported for RDMA");
            }
        }
    
        /**
         * Convert RDMA access flags to DiSNI flags
         *
         * @param access RDMA access flags
         * @return DiSNI access flags
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

    import java.util.EnumSet;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.io.ModelParseException;
    
    /**
     * Collects problems that are encountered during model building. The primary purpose of this component is to account for
     * the fact that the problem reporter has/should not have information about the calling context and hence cannot provide
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  9. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle.xml

            <module name="SimplifyBooleanExpression"/>
            <module name="SimplifyBooleanReturn"/>
            <module name="StringLiteralEquality"/>
            <module name="UnnecessaryParentheses">
                <!-- defaults are too strict, see https://github.com/checkstyle/checkstyle/issues/10946 -->
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Dec 11 10:24:25 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java

        assertThat(expected).hasMessageThat().contains("testCheckNoOverflow_failure(0, 0)");
      }
    
      public void testNulls() {
        /*
         * Don't bother testing. All non-primitive parameters are used only to construct error messages.
         * We never want to pass null for them, so we haven't annotated them to say that null is
         * allowed. But at the same time, it seems wasteful to bother inserting the checkNotNull calls
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 8.1K bytes
    - Click Count (0)
Back to Top