Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 2,009 for Kong (0.13 sec)

  1. guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java

          doubleInLongRange[i] = randomDouble(Long.SIZE - 2);
          positiveDoubles[i] = randomPositiveDouble();
        }
      }
    
      @Benchmark
      int roundToInt(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += DoubleMath.roundToInt(doubleInIntRange[j], mode);
        }
        return tmp;
      }
    
      @Benchmark
      long roundToLong(int reps) {
        long tmp = 0;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. 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);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

            /**
             * The number of deleted items.
             */
            protected long count = 1;
    
            /**
             * Sets the count of deleted items.
             * @param count The number of deleted items.
             * @return The ApiDeleteResponse instance.
             */
            public ApiDeleteResponse count(final long count) {
                this.count = count;
                return this;
            }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/BigIntegerMath.java

        int approxSize = IntMath.divide(n * IntMath.log2(n, CEILING), Long.SIZE, CEILING);
        ArrayList<BigInteger> bignums = new ArrayList<>(approxSize);
    
        // Start from the pre-computed maximum long factorial.
        int startingNumber = LongMath.factorials.length;
        long product = LongMath.factorials[startingNumber - 1];
        // Strip off 2s from this value.
        int shift = Long.numberOfTrailingZeros(product);
        product >>= shift;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. src/main/config/es/fess_config_data_config.json

              },
              "boost" : {
                "type" : "float"
              },
              "createdBy" : {
                "type" : "keyword"
              },
              "createdTime" : {
                "type" : "long"
              },
              "description" : {
                "type" : "text"
              },
              "handlerName" : {
                "type" : "keyword"
              },
              "handlerParameter" : {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedInts.java

        return Ints.compare(flip(a), flip(b));
      }
    
      /**
       * Returns the value of the given {@code int} as a {@code long}, when treated as unsigned.
       *
       * <p><b>Java 8+ users:</b> use {@link Integer#toUnsignedLong(int)} instead.
       */
      public static long toLong(int value) {
        return value & INT_MASK;
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Feb 09 16:22:33 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        // need a long enough string for the buffer to hit 0 remaining before the copy completes
        String string = Strings.repeat("0123456789", 100);
        StringBuilder b = new StringBuilder();
        // the main assertion of this test is here... the copy will fail if the buffer size goes down
        // each time it is not filled completely
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/CharStreamsTest.java

        // need a long enough string for the buffer to hit 0 remaining before the copy completes
        String string = Strings.repeat("0123456789", 100);
        StringBuilder b = new StringBuilder();
        // the main assertion of this test is here... the copy will fail if the buffer size goes down
        // each time it is not filled completely
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        if (entryIndex == -1) {
          backingMap.put(element, occurrences);
          size += occurrences;
          return 0;
        }
        int oldCount = backingMap.getValue(entryIndex);
        long newCount = (long) oldCount + (long) occurrences;
        checkArgument(newCount <= Integer.MAX_VALUE, "too many occurrences: %s", newCount);
        backingMap.setValue(entryIndex, (int) newCount);
        size += occurrences;
        return oldCount;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 23:15:58 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

     *
     * @author kevinb
     * @author Jens Nyman
     */
    @NullUnmarked
    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 =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top