Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 256 for 50000 (0.02 sec)

  1. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        List<StringCatcher> catchers = new CopyOnWriteArrayList<>();
        List<Future<?>> futures = new ArrayList<>();
        ExecutorService executor = newFixedThreadPool(10);
        int numberOfCatchers = 10000;
        for (int i = 0; i < numberOfCatchers; i++) {
          futures.add(executor.submit(new Registrator(bus, catchers)));
        }
        for (int i = 0; i < numberOfCatchers; i++) {
          futures.get(i).get();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

                        entry.updateChild(fileName, j * 100L, System.currentTimeMillis(), false, 0x20, System.currentTimeMillis() - 10000,
                                System.currentTimeMillis() - 5000);
                    }
                });
                updateThreads[i].start();
            }
    
            // Test concurrent reads
            Thread[] readThreads = new Thread[3];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/DynamicProperties.java

        private static final long serialVersionUID = 1L;
    
        /**
         * The interval in milliseconds to check for file modifications. Default is 5000ms.
         */
        protected long checkInterval = 5000L;
    
        /**
         * The timestamp of the last check for file modifications.
         */
        protected volatile long lastChecked = 0L;
    
        /**
         * The timestamp of the last modification of the properties file.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Dfs.java

             * the entire path.
             */
            dr.pathConsumed -= 1 + server.length() + 1 + share.length();
    
            if (referrals != null && System.currentTimeMillis() + 10000 > referrals.expiration) {
                referrals = null;
            }
            if (referrals == null) {
                referrals = new CacheEntry(0);
            }
            referrals.map.put(key, dr);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

            @Test
            @DisplayName("Should handle maximum buffer index")
            void testMaxBufferIndex() throws SMBProtocolDecodingException {
                // Given
                int bufferSize = 10000;
                byte[] buffer = new byte[bufferSize];
                int bufferIndex = bufferSize - 4;
                SMBUtil.writeInt2(4, buffer, bufferIndex);
                SMBUtil.writeInt2(0, buffer, bufferIndex + 2);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/SecureKeyManagerTest.java

        public void testConfigureKeyRotation() {
            // Test that configuration doesn't throw
            keyManager.configureKeyRotation(60000);
    
            // Test disabling rotation
            keyManager.configureKeyRotation(0);
    
            // Test reconfiguring
            keyManager.configureKeyRotation(30000);
        }
    
        @Test
        public void testConcurrentKeyOperations() throws InterruptedException {
            int threadCount = 10;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

         */
        protected int splitSize = 10;
    
        /**
         * Maximum size of the thumbnail generation task queue.
         */
        protected int thumbnailTaskQueueSize = 10000;
    
        /**
         * Number of tasks to process in bulk operations.
         */
        protected int thumbnailTaskBulkSize = 100;
    
        /**
         * Timeout in milliseconds for thumbnail task queue operations.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

        private FileBasicInfo fileBasicInfo;
    
        // Use Unix timestamps (milliseconds since 1970) for test values
        private static final long TEST_CREATE_TIME = System.currentTimeMillis() - 10000;
        private static final long TEST_LAST_ACCESS_TIME = System.currentTimeMillis() - 8000;
        private static final long TEST_LAST_WRITE_TIME = System.currentTimeMillis() - 6000;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/HashingTest.java

          int chosen = Hashing.consistentHash(h, shards);
          if (chosen != last) {
            map.incrementAndGet(shards);
            last = chosen;
          }
        }
      }
    
      private static final int ITERS = 10000;
      private static final int MAX_SHARDS = 500;
    
      public void testConsistentHash_outOfRange() {
        assertThrows(IllegalArgumentException.class, () -> Hashing.consistentHash(5L, 0));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  10. cmd/encryption-v1_test.go

    			sum := int64(0)
    			for _, i := range oi.Parts {
    				sum += i.Size
    			}
    			return sum
    		}
    	)
    
    	s1 := []int64{5487701, 5487799, 3}
    	s2 := repeat(5487701, 5)
    	s3 := repeat(maxPartSz, 10000)
    	testMPs := []struct {
    		decSizes []int64
    		oi       ObjectInfo
    	}{
    		{s1, mkMPObj(s1)},
    		{s2, mkMPObj(s2)},
    		{s3, mkMPObj(s3)},
    	}
    
    	// This function is a reference (re-)implementation of
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 19.9K bytes
    - Viewed (0)
Back to top