Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1901 - 1910 of 2,645 for longs (0.17 seconds)

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

          return delegate.rowKeySet();
        }
    
        @Override
        public Map<R, Map<C, V>> rowMap() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.rowMap();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
        TestTable<String, Integer, Character> table = new TestTable<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

        }
    
        @Test
        public void test_getUrlLink() throws IOException {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                public boolean isAppendQueryParameter() {
                    return false;
                }
    
                public String getIndexFieldUrl() {
                    return "url";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

            @Override
            public void start() {
                // Mock implementation
            }
    
            // Custom join method to avoid overriding final Thread.join()
            public void waitForCompletion(long millis) {
                // Mock implementation
            }
    
            @Override
            public String getOutput() {
                return output;
            }
        }
    
        // Mock Process implementation
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 31.6K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

        val stringTag = "dilophosaurus"
        val longTag = 20170815L as Long?
        val objectTag = Any()
        val request =
          Request
            .Builder()
            .url("https://square.com")
            .tag(Any::class.java, objectTag)
            .tag(UUID::class.java, uuidTag)
            .tag(String::class.java, stringTag)
            .tag(Long::class.javaObjectType, longTag)
            .build()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 24.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/math/IntMathTest.java

    @NullUnmarked
    public class IntMathTest extends TestCase {
      public void testMaxSignedPowerOfTwo() {
        assertTrue(IntMath.isPowerOfTwo(IntMath.MAX_SIGNED_POWER_OF_TWO));
    
        // Extra work required to make GWT happy.
        long value = IntMath.MAX_SIGNED_POWER_OF_TWO * 2L;
        assertFalse(IntMath.isPowerOfTwo((int) value));
      }
    
      public void testCeilingPowerOfTwo() {
        for (int x : POSITIVE_INTEGER_CANDIDATES) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/pager/RelatedContentPager.java

     */
    public class RelatedContentPager implements Serializable {
    
        /**
         * Default constructor.
         */
        public RelatedContentPager() {
            // Default constructor
        }
    
        private static final long serialVersionUID = 1L;
    
        /** Default current page number constant. */
        public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
    
        /** Total number of records across all pages. */
        private int allRecordCount;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt

            if (immutable) append("immutable, ")
            if (isEmpty()) return ""
            deleteRange(length - 2, length)
          }
        headerValue = result
      }
      return result
    }
    
    internal fun Long.commonClampToInt(): Int =
      when {
        this > Int.MAX_VALUE -> Int.MAX_VALUE
        else -> toInt()
      }
    
    internal fun CacheControl.Companion.commonForceNetwork() =
      CacheControl
        .Builder()
        .noCache()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        }
        assertThat(builder.toString()).isEqualTo(expected);
        assertFullyRead(reader);
    
        // skip fully
        reader = new CharSequenceReader(charSequence);
        assertEquals(expected.length(), reader.skip(Long.MAX_VALUE));
        assertFullyRead(reader);
    
        // skip 5 and read the rest
        if (expected.length() > 5) {
          reader = new CharSequenceReader(charSequence);
          assertEquals(5, reader.skip(5));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

        // Then, run the actual tests under each alternative classloader:
    
        runTestMethod(NO_ATOMIC_FIELD_UPDATER);
        // TODO(lukes): assert that the logs are full of errors
      }
    
      /**
       * Runs the corresponding {@link FuturesTest} test method in a new classloader that disallows
       * certain core JDK classes.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/HashMultimap.java

        Map<K, Collection<V>> map = Platform.newHashMapWithExpectedSize(12);
        setMap(map);
        Serialization.populateMultimap(this, stream, distinctKeys);
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top