Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 761 - 770 of 4,560 for long (0.03 seconds)

  1. android/guava/src/com/google/common/cache/LongAddables.java

        @Override
        public void increment() {
          getAndIncrement();
        }
    
        @Override
        public void add(long x) {
          getAndAdd(x);
        }
    
        @Override
        public long sum() {
          return get();
        }
      }
    
      private LongAddables() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java

            assertEquals("Map contents should match", original, deserialized);
        }
    
        /**
         * Test serialization of Long values
         */
        @Test
        public void test_serializeDeserialize_long() {
            Long original = 9876543210L;
    
            byte[] serialized = serializer.fromObjectToBinary(original);
            assertNotNull(serialized, "Serialized data should not be null");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

     * limitations under the License.
     */
    package okhttp3.tls.internal.der
    
    import okio.Buffer
    import okio.ByteString
    
    /**
     * Encode and decode a model object like a [Long] or [Certificate] as DER bytes.
     */
    internal interface DerAdapter<T> {
      /** Returns true if this adapter can read [header] in a choice. */
      fun matches(header: DerHeader): Boolean
    
      /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

     */
    class Cache internal constructor(
      directory: Path,
      maxSize: Long,
      fileSystem: FileSystem,
      taskRunner: TaskRunner,
    ) : Closeable,
      Flushable {
      /** Create a cache of at most [maxSize] bytes in [directory]. */
      constructor(
        fileSystem: FileSystem,
        directory: Path,
        maxSize: Long,
      ) : this(
        directory,
        maxSize,
        fileSystem,
        TaskRunner.INSTANCE,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/witness/WitnessNotificationTest.java

            }
        }
    
        @Test
        void testTimestampConsistency() {
            long beforeCreation = System.currentTimeMillis();
            WitnessNotification newNotification = new WitnessNotification(WitnessEventType.RESOURCE_CHANGE, "TestResource");
            long afterCreation = System.currentTimeMillis();
    
            assertTrue(newNotification.getTimestamp() >= beforeCreation);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            }
    
            long margin = 5000000L;
            System.gc();
            for (int i = 0; i < 300; i++) {
                if (MemoryUtil.getUsedMemory() < current + margin) {
                    break;
                }
                System.gc();
                Thread.sleep(100L);
            }
            final long usedMemory = MemoryUtil.getUsedMemory();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/eventbus/SubscriberTest.java

    package com.google.common.eventbus;
    
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.testing.EqualsTester;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Subscriber}.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 21:52:12 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

    import java.util.List;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.exception.InterruptedRuntimeException;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.lang.ThreadUtil;
    import org.codelibs.fess.crawler.Constants;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.exception.CommandExecutionException;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/DfsReferralDataTest.java

        }
    
        @Test
        @DisplayName("Should get expiration")
        void testGetExpiration() {
            // Given
            long expiration = System.currentTimeMillis();
            when(mockReferralData.getExpiration()).thenReturn(expiration);
    
            // When
            long result = mockReferralData.getExpiration();
    
            // Then
            assertEquals(expiration, result);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

        }
    
        /**
         * Retrieves a setting value as a long.
         * @param key The key of the setting.
         * @param defaultValue The default value if the setting is not found.
         * @return The setting value as a long.
         */
        public long getAsLong(final String key, final long defaultValue) {
            return getAs(key, defaultValue, Long::parseLong);
        }
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
Back to Top