Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,983 for Long (0.03 sec)

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

     */
    @GwtCompatible
    final class LongAdder extends Striped64 implements Serializable, LongAddable {
      @GwtIncompatible @J2ktIncompatible   private static final long serialVersionUID = 7249069246863182397L;
    
      /** Version of plus for use in retryUpdate */
      @Override
      final long fn(long v, long x) {
        return v + x;
      }
    
      /** Creates a new adder with initial sum of zero. */
      public LongAdder() {}
    
      /**
       * Adds the given value.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteSource.java

        }
      }
    
      /** A view of a subsection of the containing byte source. */
      private final class SlicedByteSource extends ByteSource {
    
        final long offset;
        final long length;
    
        SlicedByteSource(long offset, long length) {
          checkArgument(offset >= 0, "offset (%s) may not be negative", offset);
          checkArgument(length >= 0, "length (%s) may not be negative", length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/Striped64.java

       * provided.
       */
      static final class Cell {
        volatile long p0, p1, p2, p3, p4, p5, p6;
        volatile long value;
        volatile long q0, q1, q2, q3, q4, q5, q6;
    
        Cell(long x) {
          value = x;
        }
    
        final boolean cas(long cmp, long val) {
          return UNSAFE.compareAndSwapLong(this, VALUE_OFFSET, cmp, val);
        }
    
        // Unsafe mechanics
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jan 15 22:17:15 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

      @BeforeExperiment
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      void setUp() {
        originalString = Strings.repeat("x", length);
      }
    
      @Benchmark
      void oldRepeat(long reps) {
        for (int i = 0; i < reps; i++) {
          String x = oldRepeat(originalString, count);
          if (x.length() != (originalString.length() * count)) {
            throw new RuntimeException("Wrong length: " + x);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/RequestHeaderDbm.java

                false, "keyword", 0, 0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnCreatedTime = cci("createdTime", "createdTime", null, null, Long.class, "createdTime", null, false,
                false, false, "Long", 0, 0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnName = cci("name", "name", null, null, String.class, "name", null, false, false, false, "keyword", 0,
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

         * @see jcifs.util.transport.Response#getExpiration()
         */
        @Override
        public Long getExpiration() {
            return this.expiration;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#setExpiration(java.lang.Long)
         */
        @Override
        public void setExpiration(final Long exp) {
            this.expiration = exp;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            // Test minimum value
            event.setVersionNo(Long.MIN_VALUE);
            assertEquals(Long.valueOf(Long.MIN_VALUE), event.getVersionNo());
    
            // Test zero
            event.setVersionNo(0L);
            assertEquals(Long.valueOf(0L), event.getVersionNo());
    
            // Test maximum value
            event.setVersionNo(Long.MAX_VALUE);
            assertEquals(Long.valueOf(Long.MAX_VALUE), event.getVersionNo());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java

            return this.fileAttributes;
        }
    
        @Override
        public long getCreateTime() {
            return convertTime(this.lastWriteTime);
        }
    
        /**
         * @param time
         * @return
         */
        private long convertTime(final long time) {
            return time + this.serverTimeZoneOffset;
        }
    
        @Override
        public long getLastWriteTime() {
            return convertTime(this.lastWriteTime);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Primitives.java

       *     wrap(String.class) == String.class
       * </pre>
       */
      public static <T> Class<T> wrap(Class<T> type) {
        checkNotNull(type);
    
        // cast is safe: long.class and Long.class are both of type Class<Long>
        @SuppressWarnings("unchecked")
        Class<T> wrapped = (Class<T>) PRIMITIVE_TO_WRAPPER_TYPE.get(type);
        return (wrapped == null) ? type : wrapped;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            }
    
            public long getConnectionsCreated() {
                return connectionsCreated.get();
            }
    
            public long getSuccessCount() {
                return successCount.get();
            }
    
            public long getFailureCount() {
                return failureCount.get();
            }
    
            public long getFirstConnectionTime() {
                return firstConnectionTime;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
Back to top