Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 630 for cong (0.04 sec)

  1. guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

        assertFalse(errorNotThrown);
      }
    
      private static class ClassWhichDoesNotImplementEquals implements Serializable {
        private static final long serialVersionUID = 1L;
      }
    
      private static class ClassWhichIsAlwaysEqualButHasDifferentHashcodes implements Serializable {
        private static final long serialVersionUID = 2L;
    
        @SuppressWarnings("EqualsHashCode")
        @Override
        public boolean equals(@Nullable Object other) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

        /** True if the caller has closed this stream. */
        internal var closed: Boolean = false
    
        @Throws(IOException::class)
        override fun read(
          sink: Buffer,
          byteCount: Long,
        ): Long {
          require(byteCount >= 0L) { "byteCount < 0: $byteCount" }
    
          while (true) {
            var tryAgain = false
            var readBytesDelivered = -1L
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private static final long SMALL_TIMEOUT_MILLIS = 10;
    
      /** How long to wait when determining that a thread is blocked if we expect it to be blocked. */
      private static final long EXPECTED_HANG_DELAY_MILLIS = 75;
    
      /**
       * How long to wait when determining that a thread is blocked if we DON'T expect it to be blocked.
       */
      private static final long UNEXPECTED_HANG_DELAY_MILLIS = 10000;
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

        }
    
        protected long getReadInterval(final DataStoreParams paramMap) {
            long readInterval = 0;
            final String value = paramMap.getAsString("readInterval");
            if (StringUtil.isNotBlank(value)) {
                try {
                    readInterval = Long.parseLong(value);
                } catch (final NumberFormatException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/Files.java

       * @see FileChannel#map(MapMode, long, long)
       * @since 2.0
       */
      public static MappedByteBuffer map(File file) throws IOException {
        checkNotNull(file);
        return map(file, MapMode.READ_ONLY);
      }
    
      /**
       * Fully maps a file in to memory as per {@link
       * FileChannel#map(java.nio.channels.FileChannel.MapMode, long, long)} using the requested {@link
       * MapMode}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      @GwtIncompatible // digs into internals of the non-GWT implementation
      public void testMaximumSize_largerThanInt() {
        CacheBuilder<Object, Object> builder =
            CacheBuilder.newBuilder().initialCapacity(512).maximumSize(Long.MAX_VALUE);
        LocalCache<?, ?> cache = ((LocalCache.LocalManualCache<?, ?>) builder.build()).localCache;
        assertThat(cache.segments.length * cache.segments[0].table.length()).isEqualTo(512);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/exentity/ElevateWord.java

            return asDocMeta().id();
        }
    
        public void setId(final String id) {
            asDocMeta().id(id);
        }
    
        public Long getVersionNo() {
            return asDocMeta().version();
        }
    
        public void setVersionNo(final Long version) {
            asDocMeta().version(version);
        }
    
        @Override
        public String toString() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java

        }
      }
    
      @Override
      public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException {
        long nanos = unit.toNanos(timeout);
        synchronized (lock) {
          while (true) {
            if (shutdown && runningTasks == 0) {
              return true;
            } else if (nanos <= 0) {
              return false;
            } else {
              long now = System.nanoTime();
              NANOSECONDS.timedWait(lock, nanos);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java

      private final ImmutableList<Entry<E>> entries;
      private final long size;
    
      static <E> ImmutableMultiset<E> create(Collection<? extends Entry<? extends E>> entries) {
        @SuppressWarnings("unchecked")
        Entry<E>[] entriesArray = entries.toArray((Entry<E>[]) new Entry<?>[0]);
        Map<E, Integer> delegateMap = Maps.newHashMapWithExpectedSize(entriesArray.length);
        long size = 0;
        for (int i = 0; i < entriesArray.length; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/log/LoggerTest.java

            final int num = 100;
            long start = System.currentTimeMillis();
            for (int i = 0; i < num; i++) {
                System.out.println("test" + i);
            }
            final long sysout = System.currentTimeMillis() - start;
            start = System.currentTimeMillis();
            for (int i = 0; i < num; i++) {
                logger.fatal("test" + i);
            }
            final long logger = System.currentTimeMillis() - start;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top