Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,776 for Pong (0.07 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/internal/ThrottledSink.kt

     */
    internal class ThrottledSink(
      private val delegate: Sink,
      private val bytesPerPeriod: Long,
      private val periodDelayNanos: Long,
    ) : Sink by delegate {
      private var bytesWrittenSinceLastDelay = 0L
    
      override fun write(
        source: Buffer,
        byteCount: Long,
      ) {
        var bytesLeft = byteCount
    
        while (bytesLeft > 0) {
          if (bytesWrittenSinceLastDelay == bytesPerPeriod) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacDataInputStream.java

            return Integer.reverseBytes(this.dis.readInt());
        }
    
    
        public long readLong () throws IOException {
            align(8);
            return Long.reverseBytes(this.dis.readLong());
        }
    
    
        public int readUnsignedByte () throws IOException {
            return ( readByte() ) & 0xff;
        }
    
    
        public long readUnsignedInt () throws IOException {
            return ( readInt() ) & 0xffffffffL;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 21 21:19:58 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

        public abstract long gcdLong(long a, long b);
    
        public abstract boolean noAddOverflow(int a, int b);
    
        public abstract boolean noAddOverflow(long a, long b);
    
        public abstract boolean noMulOverflow(int a, int b);
    
        public abstract boolean noMulOverflow(long a, long b);
      }
    
      private final int[] factorials = new int[ARRAY_SIZE];
      private final int[][] binomials = new int[ARRAY_SIZE][2];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 6.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbCopyUtil.java

                          SmbConstants.FILE_NO_SHARE) ) {
                    long mtime = src.lastModified();
                    long ctime = src.createTime();
                    long atime = src.lastAccess();
                    int i = 0;
                    long off = 0L;
                    while ( true ) {
                        int read = fis.read(b[ i ]);
                        synchronized ( w ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/av/AvTimestamp.java

         * @param ts
         */
        public AvTimestamp ( long ts ) {
            this(encode(ts));
        }
    
    
        /**
         * @param ts
         * @return
         */
        private static byte[] encode ( long ts ) {
            byte[] data = new byte[8];
            SMBUtil.writeInt8(ts, data, 0);
            return data;
        }
    
    
        /**
         * @return the timestamp
         */
        public long getTimestamp () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/DiscreteDomain.java

        }
    
        @Override
        @CheckForNull
        public Long previous(Long value) {
          long l = value;
          return (l == Long.MIN_VALUE) ? null : l - 1;
        }
    
        @Override
        Long offset(Long origin, long distance) {
          checkNonnegative(distance, "distance");
          long result = origin + distance;
          if (result < 0) {
            checkArgument(origin < 0, "overflow");
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/exentity/AccessToken.java

    public class AccessToken extends BsAccessToken {
    
        private static final long serialVersionUID = 1L;
    
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
            asDocMeta().id(id);
        }
    
        public Long getVersionNo() {
            return asDocMeta().version();
        }
    
        public void setVersionNo(final Long version) {
            asDocMeta().version(version);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       */
      public long sum() {
        return map.values().stream().mapToLong(Long::longValue).sum();
      }
    
      @LazyInit @CheckForNull private transient Map<K, Long> asMap;
    
      /** Returns a live, read-only view of the map backing this {@code AtomicLongMap}. */
      public Map<K, Long> asMap() {
        Map<K, Long> result = asMap;
        return (result == null) ? asMap = createAsMap() : result;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Uninterruptibles.java

      /** Invokes {@code unit.}{@link TimeUnit#sleep(long) sleep(sleepFor)} uninterruptibly. */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public static void sleepUninterruptibly(long sleepFor, TimeUnit unit) {
        boolean interrupted = false;
        try {
          long remainingNanos = unit.toNanos(sleepFor);
          long end = System.nanoTime() + remainingNanos;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/ResponseBodyTest.kt

        assertThat(body.bytes()).isEqualTo(text)
      }
    }
    
    abstract class ForwardingSource(
      val delegate: Source,
    ) : Source {
      override fun read(
        sink: Buffer,
        byteCount: Long,
      ): Long = delegate.read(sink, byteCount)
    
      override fun timeout() = delegate.timeout()
    
      override fun close() = delegate.close()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top