Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 551 - 560 of 2,645 for longs (0.12 seconds)

  1. benchmarks/src/main/java/org/elasticsearch/common/bytes/BytesArrayReadVLongBenchmark.java

                tmp.writeVLong(Long.MAX_VALUE - i);
            }
            BytesReference bytesArray = tmp.copyBytes();
            if (bytesArray instanceof BytesArray == false) {
                throw new AssertionError("expected BytesArray but saw [" + bytesArray.getClass() + "]");
            }
            this.streamInput = bytesArray.streamInput();
        }
    
        @Benchmark
        public long readVLong() throws IOException {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Apr 12 20:25:06 GMT 2021
    - 2.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/opensearch/user/exentity/Group.java

    /**
     * @author FreeGen
     */
    public class Group extends BsGroup {
    
        private static final long serialVersionUID = 1L;
    
        private Map<String, String> attributes;
    
        public Long getVersionNo() {
            return asDocMeta().version();
        }
    
        public void setVersionNo(final Long version) {
            asDocMeta().version(version);
        }
    
        public String getId() {
            return asDocMeta().id();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

            final long before = System.currentTimeMillis();
            helper.sendHeartbeat();
            final long after = System.currentTimeMillis();
    
            assertNotNull(capturedBody.get());
            final Map<String, Object> body = coordinatorHelper.parseJson(capturedBody.get());
            final long createdTime = ((Number) body.get("createdTime")).longValue();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

        }
    
        /**
         * Test method for {@link jcifs.internal.smb1.com.SmbComClose#SmbComClose(jcifs.Configuration, int, long)}.
         */
        @Test
        public void testConstructor() {
            // Given
            int fid = 123;
            long lastWriteTime = System.currentTimeMillis();
    
            // When
            SmbComClose smbComClose = new SmbComClose(config, fid, lastWriteTime);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/cache/ReferenceEntry.java

       * the head of the list.
       */
    
      /** Returns the time that this entry was last accessed, in ns. */
      @SuppressWarnings("GoodTime")
      long getAccessTime();
    
      /** Sets the entry access time in ns. */
      @SuppressWarnings("GoodTime") // b/122668874
      void setAccessTime(long time);
    
      /** Returns the next entry in the access queue. */
      ReferenceEntry<K, V> getNextInAccessQueue();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

     * @author Jens Nyman
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class SimpleTimeLimiterTest extends TestCase {
    
      private static final long DELAY_MS = 50;
      private static final long ENOUGH_MS = 10000;
      private static final long NOT_ENOUGH_MS = 5;
    
      private static final String GOOD_CALLABLE_RESULT = "good callable result";
      private static final Callable<String> GOOD_CALLABLE =
          () -> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            byte[] buffer = new byte[8];
            long value = 0x123456789ABCDEF0L;
            ServerMessageBlock.writeInt8(value, buffer, 0);
            assertEquals(value, ServerMessageBlock.readInt8(buffer, 0));
        }
    
        @Test
        void testTimeReadWrite() {
            byte[] buffer = new byte[8];
            long time = System.currentTimeMillis();
            ServerMessageBlock.writeTime(time, buffer, 0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/Preconditions.java

       *
       * @since 20.0 (varargs overload since 2.0)
       */
      public static void checkArgument(
          boolean expression, String errorMessageTemplate, long p1, long p2) {
        if (!expression) {
          throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1, p2));
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 53.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/exentity/RequestHeader.java

        private static final long serialVersionUID = 1L;
    
        private static final Logger logger = LogManager.getLogger(RequestHeader.class);
    
        private WebConfig webConfig;
    
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
            asDocMeta().id(id);
        }
    
        public Long getVersionNo() {
            return asDocMeta().version();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            value = "${spaces}";
            assertEquals("   ", ResourceUtil.resolve(value));
    
            // Test long property name
            System.setProperty("very.long.property.name.with.many.dots", "long");
            value = "${very.long.property.name.with.many.dots}";
            assertEquals("long", ResourceUtil.resolve(value));
    
            // Test multiple occurrences of same variable
            System.setProperty("repeat", "X");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.8K bytes
    - Click Count (0)
Back to Top