Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 3,487 for init (0.02 sec)

  1. guava-tests/test/com/google/common/collect/RangeTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link Range}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public class RangeTest extends TestCase {
      public void testOpen() {
        Range<Integer> range = Range.open(4, 8);
        checkContains(range);
        assertTrue(range.hasLowerBound());
        assertEquals(4, (int) range.lowerEndpoint());
        assertEquals(OPEN, range.lowerBoundType());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class DataStoreCrawlingExceptionTest extends UnitFessTestCase {
    
        public void test_constructor_withUrlMessageAndException() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

                .resolveType(t));
      }
    
      public <T> void testWhere_primitiveArrayMapping() {
        Type t = new TypeCapture<T>() {}.capture();
        assertEquals(
            int.class,
            new TypeResolver().where(new TypeCapture<T[]>() {}.capture(), int[].class).resolveType(t));
      }
    
      public <T> void testWhere_parameterizedTypeMapping() {
        Type t = new TypeCapture<T>() {}.capture();
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

    import java.util.ListIterator;
    import java.util.Map;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class QueryResponseListTest extends UnitFessTestCase {
        public void test_calculatePageInfo_page0() {
            QueryResponseList qrList;
    
            qrList = new QueryResponseList(null, 0, 20, 0) {
                @Override
                public int size() {
                    return 0;
                }
            };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 39.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.dict.stopwords;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class StopwordsItemTest extends UnitFessTestCase {
    
        public void test_constructor_withIdZero() {
            // Test when id is 0 (create mode)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionQuery.java

            return null;
        }
    
        @Override
        public SqlClause xgetSqlClause() {
            return null;
        }
    
        @Override
        public int xgetNestLevel() {
            return 0;
        }
    
        @Override
        public int xgetNextNestLevel() {
            return 0;
        }
    
        @Override
        public boolean isBaseQuery() {
            return false;
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        // will keep trying
        public GoodEquals(@SuppressWarnings("unused") NotInstantiable x, int b) {
          this.a = "x";
          this.b = b;
        }
    
        // keep trying
        @Keep
        static GoodEquals create(int a, int b) {
          throw new RuntimeException();
        }
    
        // Good!
        static GoodEquals create(String a, int b) {
          return new GoodEquals(a, b);
        }
    
        // keep trying
        @Keep
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(0x000000, (int) webSafeColorArray[0]);
        assertEquals(0x000033, (int) webSafeColorArray[1]);
        assertEquals(0x000066, (int) webSafeColorArray[2]);
        assertEquals(0x003300, (int) webSafeColorArray[6]);
        assertEquals(0x330000, (int) webSafeColorArray[36]);
        assertEquals(0x000066, (int) webSafeColors.get(2));
        assertEquals(0x003300, (int) webSafeColors.get(6));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

    import org.mockito.Mock;
    import org.mockito.MockedStatic;
    import org.mockito.Mockito;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.pac.PACDecodingException;
    
    /**
     * Unit tests for the KerberosTicket class.
     */
    @ExtendWith(MockitoExtension.class)
    class KerberosTicketTest {
    
        @Mock
        private KerberosKey kerberosKey;
    
        private KerberosKey[] keys;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          Future<V> future, Class<X> exceptionClass, long timeout, TimeUnit unit) throws X {
        // TODO(cpovirk): benchmark a version of this method that accepts a GetCheckedTypeValidator
        bestGetCheckedTypeValidator().validateClass(exceptionClass);
        try {
          return future.get(timeout, unit);
        } catch (InterruptedException e) {
          currentThread().interrupt();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top