Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 248 for 30000 (0.01 sec)

  1. src/test/java/jcifs/util/SecureCredentialStorageTest.java

        }
    
        @Test
        public void testEncryptDecryptLongPassword() throws Exception {
            // Test with very long password
            char[] plaintext = new char[10000];
            Arrays.fill(plaintext, 'X');
    
            byte[] encrypted = storage.encryptCredentials(plaintext);
            assertNotNull(encrypted, "Encrypted long password should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

                        String fileName = "thread" + threadId + "_file" + j + ".txt";
                        entry.updateChild(fileName, j * 100L, System.currentTimeMillis(), false, 0x20, System.currentTimeMillis() - 10000,
                                System.currentTimeMillis() - 5000);
                    }
                });
                updateThreads[i].start();
            }
    
            // Test concurrent reads
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

            String circuitBreakerName = String.format("SMB-%s:%d", address.getHostAddress(), port);
            this.circuitBreaker = new SimpleCircuitBreaker(circuitBreakerName, 3, 2, 30000L);
    
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Transport#getResponseTimeout()
         */
        @Override
        protected int getResponseTimeout(final Request req) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  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/FileFsFullSizeInformationTest.java

                // Given
                ByteBuffer buffer = ByteBuffer.allocate(32);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(10000L);
                buffer.putLong(3000L);
                buffer.putLong(3000L);
                buffer.putInt(8);
                buffer.putInt(512);
    
                // When
                fileFsFullSizeInfo.decode(buffer.array(), 0, 32);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top