Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 96 for 1800000 (0.03 sec)

  1. src/test/java/jcifs/dcerpc/rpcTest.java

                sid.sub_authority_count = (byte) 2;
                sid.identifier_authority = new byte[] { (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 5 };
                sid.sub_authority = new int[] { 1000, 2000 };
    
                when(mockNdrBuffer.derive(anyInt())).thenReturn(mockNdrBuffer);
    
                // When: Encoding the SID
                sid.encode(mockNdrBuffer);
    
                // Then: Verify the encoding sequence
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      public void testSetFuture_stackOverflow() {
        SettableFuture<String> orig = SettableFuture.create();
        SettableFuture<String> prev = orig;
        for (int i = 0; i < 100000; i++) {
          SettableFuture<String> curr = SettableFuture.create();
          prev.setFuture(curr);
          prev = curr;
        }
        // prev represents the 'innermost' future
        prev.set("done");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      public void testSetFuture_stackOverflow() {
        SettableFuture<String> orig = SettableFuture.create();
        SettableFuture<String> prev = orig;
        for (int i = 0; i < 100000; i++) {
          SettableFuture<String> curr = SettableFuture.create();
          prev.setFuture(curr);
          prev = curr;
        }
        // prev represents the 'innermost' future
        prev.set("done");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/ResourceManagerTest.java

        @BeforeEach
        void setUp() {
            resourceManager = ResourceManager.getInstance();
            // Configure with shorter intervals for testing
            resourceManager.configure(1000, 100, true, true);
        }
    
        /**
         * Test resource for tracking
         */
        static class TestResource implements AutoCloseable {
            private final AtomicBoolean closed = new AtomicBoolean(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                // Given - disk with no free space
                ByteBuffer buffer = ByteBuffer.allocate(24);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(1000000L);
                buffer.putLong(0L);
                buffer.putInt(8);
                buffer.putInt(512);
    
                // When
                fileFsSizeInfo.decode(buffer.array(), 0, 24);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

     */
    public class RdmaErrorHandler {
    
        private static final Logger log = LoggerFactory.getLogger(RdmaErrorHandler.class);
    
        // Retry and timing constants (in ms)
        private static final long MAX_RETRY_DELAY = 10000; // 10 seconds maximum delay
        private static final int MAX_BACKOFF_SHIFT = 4; // Maximum 16x multiplier
    
        private final RdmaStatistics statistics;
        private final int maxRetries;
        private final long retryDelayMs;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            // Verify O(1) performance - should be reasonably fast (allowing for JVM overhead)
            assertTrue(avgAllocTimeNs < 10000, "Average allocation should be under 10000ns (O(1) performance)");
            assertTrue(avgReleaseTimeNs < 10000, "Average release should be under 10000ns (O(1) performance)");
            assertEquals(threadCount * operationsPerThread, allocations.get());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                // Given - disk with no free space
                ByteBuffer buffer = ByteBuffer.allocate(32);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(1000000L);
                buffer.putLong(0L);
                buffer.putLong(0L);
                buffer.putInt(8);
                buffer.putInt(512);
    
                // When
    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. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

              double z = aa.updateAndGet(i, value -> value - y);
              assertBitEquals(x - y, z);
              assertBitEquals(x - y, aa.get(i));
            }
          }
        }
      }
    
      static final long COUNTDOWN = 100000;
    
      class Counter extends CheckedRunnable {
        final AtomicDoubleArray aa;
        volatile long counts;
    
        Counter(AtomicDoubleArray a) {
          aa = a;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/SecureCredentialStorage.java

        private static final int GCM_TAG_SIZE = 128;
        private static final int GCM_IV_SIZE = 12;
        private static final int SALT_SIZE = 32;
        private static final int PBKDF2_ITERATIONS = 100_000;
    
        private final SecureRandom secureRandom = new SecureRandom();
        private volatile SecretKey masterKey;
        private volatile byte[] salt;
        private volatile boolean destroyed = false;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top