Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 2,054 for longs (0.03 sec)

  1. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

      @Param({"1", "10"})
      int length;
    
      private String originalString;
    
      @BeforeExperiment
      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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Sep 17 20:24:24 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

      private static BigInteger oldSlowFactorial(int n1, int n2) {
        assert n1 <= n2;
        if (IntMath.log2(n2, CEILING) * (n2 - n1) < Long.SIZE - 1) {
          // the result will definitely fit into a long
          long result = 1;
          for (int i = n1 + 1; i <= n2; i++) {
            result *= i;
          }
          return BigInteger.valueOf(result);
        }
    
        /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java

            }
            public int getAttributes() {
                return SmbFile.ATTR_READONLY | SmbFile.ATTR_DIRECTORY;
            }
            public long createTime() {
                return 0L;
            }
            public long lastModified() {
                return 0L;
            }
            public long length() {
                return 0L;
            }
    
            public String toString() {
                return new String( "ServerInfo1[" +
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TarExtractor.java

    public class TarExtractor extends AbstractExtractor {
        private static final Logger logger = LoggerFactory.getLogger(TarExtractor.class);
    
        @Resource
        protected ArchiveStreamFactory archiveStreamFactory;
    
        protected long maxContentSize = -1;
    
        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/SearchRenderData.java

        protected int pageSize;
    
        protected int currentPageNumber;
    
        protected long allRecordCount;
    
        protected String allRecordCountRelation;
    
        protected int allPageCount;
    
        protected boolean existNextPage;
    
        protected boolean existPrevPage;
    
        protected long currentStartRecordNumber;
    
        protected long currentEndRecordNumber;
    
        protected List<String> pageNumberList;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/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, valueOffset, cmp, val);
        }
    
        // Unsafe mechanics
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/cbean/cq/bs/BsGroupCQ.java

            return this;
        }
    
        public void setGidNumber_Equal(Long gidNumber) {
            setGidNumber_Term(gidNumber, null);
        }
    
        public void setGidNumber_Equal(Long gidNumber, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setGidNumber_Term(gidNumber, opLambda);
        }
    
        public void setGidNumber_Term(Long gidNumber) {
            setGidNumber_Term(gidNumber, null);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 20K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

          buf[((x1 << 16) + (x2 << 8) + x3) % bufLen] ^= i % 256;
        }
        assertEquals(0xeaa3b1c985261632L, h);
      }
    
      private static long remix(long h) {
        h ^= h >>> 41;
        h *= 949921979;
        return h;
      }
    
      private static byte getChar(long h) {
        return (byte) ('a' + ((h & 0xfffff) % 26));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/HashCode.java

       * {@code long} value in little-endian order.
       *
       * @throws IllegalStateException if {@code bits() < 64}
       */
      public abstract long asLong();
    
      /**
       * If this hashcode has enough bits, returns {@code asLong()}, otherwise returns a {@code long}
       * value with {@code asBytes()} as the least-significant bytes and {@code 0x00} as the remaining
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            }
            final List<String> fields = SuggestUtil.getAsList(source.get(FieldNames.FIELDS));
            final long docFreq = Long.parseLong(source.get(FieldNames.DOC_FREQ).toString());
            final long queryFreq = Long.parseLong(source.get(FieldNames.QUERY_FREQ).toString());
            final float userBoost = Float.parseFloat(source.get(FieldNames.USER_BOOST).toString());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top