Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 800 for 4000 (0.04 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (int rate : rates) {
          int oneSecWorthOfWork = rate;
          stopwatch.sleepMillis(rate * 1000);
          limiter.setRate(rate);
          long burst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
          // we allow one second worth of work to go in a burst (i.e. take less than a second)
          assertTrue(burst <= 1000);
          long afterBurst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (int rate : rates) {
          int oneSecWorthOfWork = rate;
          stopwatch.sleepMillis(rate * 1000);
          limiter.setRate(rate);
          long burst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
          // we allow one second worth of work to go in a burst (i.e. take less than a second)
          assertTrue(burst <= 1000);
          long afterBurst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

        try {
          for (i in 1..2) {
            // Space out traffic to make it easier to demarcate.
            sendTestRequest(fbRequest)
            Thread.sleep(1000)
            sendTestRequest(twitterRequest)
            Thread.sleep(1000)
            sendTestRequest(googleRequest)
            Thread.sleep(2000)
          }
        } finally {
          client.connectionPool.evictAll()
          client.dispatcher.executorService.shutdownNow()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NameServiceClientImpl.java

    /* jcifs smb client library in Java
     * Copyright (C) 2000  "Michael B. Allen" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            buffer[bufferIndex + 1] = 0x00;
            buffer[bufferIndex + 2] = 0x00;
    
            // totalParameterCount (4 bytes)
            SMBUtil.writeInt4(1000, buffer, bufferIndex + 3);
    
            // totalDataCount (4 bytes)
            SMBUtil.writeInt4(2000, buffer, bufferIndex + 7);
    
            // parameterCount (4 bytes)
            SMBUtil.writeInt4(100, buffer, bufferIndex + 11);
    
            // parameterOffset (4 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

    @NullUnmarked
    public class AtomicLongMapBasherTest extends TestCase {
      private final Random random = new Random(301);
    
      public void testModify_basher() throws Exception {
        int nTasks = 3000;
        int nThreads = 100;
        int getsPerTask = 1000;
        int deltaRange = 10000;
        String key = "key";
    
        AtomicLongMap<String> map = AtomicLongMap.create();
    
        ExecutorService threadPool = newFixedThreadPool(nThreads);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            // Set SMB 3.1.1 dialect
            SMBUtil.writeInt2(0x0311, buffer, 4);
            // Set excessive negotiate context count (should be limited to 100)
            SMBUtil.writeInt2(1000, buffer, 6);
            // Set negotiate context offset to valid value
            SMBUtil.writeInt4(128, buffer, 60);
    
            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbResourceTest.java

                when(mockResource.lastModified()).thenReturn(currentTime);
                when(mockResource.lastAccess()).thenReturn(currentTime - 1000);
                when(mockResource.createTime()).thenReturn(currentTime - 2000);
    
                // When
                long lastModified = mockResource.lastModified();
                long lastAccess = mockResource.lastAccess();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  9. src/main/webapp/css/admin/fonts/fa-brands-400.woff

    Shinsuke Sugaya <******@****.***> 1576358545 +0900
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Dec 14 21:22:25 UTC 2019
    - 87K bytes
    - Viewed (0)
  10. src/main/webapp/css/admin/fonts/fa-regular-400.ttf

    Shinsuke Sugaya <******@****.***> 1576358545 +0900
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Dec 14 21:22:25 UTC 2019
    - 33.3K bytes
    - Viewed (0)
Back to top