Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 2,036 for wong (0.02 sec)

  1. src/main/java/jcifs/util/InputValidator.java

         * @param operation the operation name
         * @throws ArithmeticException if operation would overflow
         */
        public static void validateIntegerAddition(int a, int b, String operation) {
            long result = (long) a + (long) b;
            if (result > Integer.MAX_VALUE || result < Integer.MIN_VALUE) {
                throw new ArithmeticException(operation + " would cause integer overflow: " + a + " + " + b);
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Encdec.java

         *
         * @param src the source byte array
         * @param si the starting index in the source array
         * @return the decoded long value
         */
        public static long dec_uint64be(final byte[] src, final int si) {
            long l = dec_uint32be(src, si) & 0xFFFFFFFFL;
            l <<= 32L;
            l |= dec_uint32be(src, si + 4) & 0xFFFFFFFFL;
            return l;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ComparisonChain.java

       */
      public abstract ComparisonChain compare(int left, int right);
    
      /**
       * Compares two {@code long} values as specified by {@link Long#compare}, <i>if</i> the result of
       * this comparison chain has not already been determined.
       */
      public abstract ComparisonChain compare(long left, long right);
    
      /**
       * Compares two {@code float} values as specified by {@link Float#compare}, <i>if</i> the result
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt

       */
      var upstream: Source?,
      /** The number of bytes consumed from [upstream]. Guarded by this. */
      var upstreamPos: Long,
      /** User-supplied additional data persisted with the source data. */
      private val metadata: ByteString,
      /** The maximum size of [buffer]. */
      val bufferMaxSize: Long,
    ) : Lockable {
      /** The thread that currently has access to upstream. Possibly null. Guarded by this. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 17:15:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

            return wasInUse;
        }
    
        @Override
        protected long makeKey(final Request request) throws IOException {
            long m = this.mid.incrementAndGet() - 1;
            if (!this.smb2) {
                m = m % 32000;
            }
            ((CommonServerMessageBlock) request).setMid(m);
            return m;
        }
    
        @Override
        protected Long peekKey() throws IOException {
            do {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

    @NullUnmarked
    public class StopwatchBenchmark {
      @Benchmark
      long stopwatch(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
          Stopwatch s = Stopwatch.createStarted();
          // here is where you would do something
          total += s.elapsed(NANOSECONDS);
        }
        return total;
      }
    
      @Benchmark
      long manual(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java

        }
    
        /**
         * @return the lastWriteTime
         */
        @Override
        public final long getLastWriteTime() {
            return this.lastWriteTime;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbBasicFileInfo#getCreateTime()
         */
        @Override
        public long getCreateTime() {
            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

          T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit) {
        checkNotNull(target);
        checkNotNull(interfaceType);
        checkNotNull(timeoutUnit);
        return target; // ha ha
      }
    
      @CanIgnoreReturnValue // TODO(kak): consider removing this
      @Override
      @ParametricNullness
      public <T extends @Nullable Object> T callWithTimeout(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

        /**
         * Maximum number of URLs to access during crawling.
         */
        protected long maxAccessCount = Long.MAX_VALUE;
    
        /**
         * Interval time in milliseconds between crawling executions.
         */
        protected long crawlingExecutionInterval = Constants.DEFAULT_CRAWLING_EXECUTION_INTERVAL;
    
        /**
         * Thread priority for index updater operations.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            dst[++dstIndex] = (byte) (val >> 8);
        }
    
        static long readTime(final byte[] src, final int srcIndex) {
            final int low = readInt4(src, srcIndex);
            final int hi = readInt4(src, srcIndex + 4);
            final long t = (long) hi << 32L | low & 0xFFFFFFFFL;
            return t / 10000L - MILLISECONDS_BETWEEN_1970_AND_1601;
        }
    
        static void writeTime(long t, final byte[] dst, final int dstIndex) {
            if (t != 0L) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
Back to top