Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for wget (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            assertEquals(1, notifications.get(0).getAction());
            assertEquals("file1", notifications.get(0).getFileName());
    
            assertEquals(2, notifications.get(1).getAction());
            assertEquals("file2", notifications.get(1).getFileName());
    
            assertEquals(3, notifications.get(2).getAction());
            assertEquals("file3", notifications.get(2).getFileName());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            double avgAllocTimeNs = totalAllocTime.get() / (double) allocations.get();
            double avgReleaseTimeNs = totalReleaseTime.get() / (double) releases.get();
    
            System.out.printf("Buffer Cache Performance: %d allocs, %d releases in %.2f ms%n", allocations.get(), releases.get(),
                    overallTimeMs);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

        public LeaseEntry getLease(Smb2LeaseKey key) {
            return leases.get(key);
        }
    
        /**
         * Get lease entry by path
         *
         * @param path file path
         * @return lease entry or null if not found
         */
        public LeaseEntry getLeaseByPath(String path) {
            Smb2LeaseKey key = pathToLease.get(path);
            return key != null ? leases.get(key) : null;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/MultiChannelManager.java

                    return channels.get(index);
    
                case LEAST_CONNECTIONS:
                    return channels.stream()
                            .min((c1, c2) -> Integer.compare(c1.getActiveConnections(), c2.getActiveConnections()))
                            .orElse(channels.get(0));
    
                case RANDOM:
                    return channels.get((int) (Math.random() * channels.size()));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                return !exists;
            });
        }
    
        /**
         * Get detailed health statistics
         */
        public PoolHealthMetrics getHealthMetrics() {
            return new PoolHealthMetrics(connections.size(), nonPooledConnections.size(), activeConnections.get(), maxPoolSize,
                    totalHealthChecks.get(), failedHealthChecks.get(), connectionsRemoved.get(), connectionMetrics.size(),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CartesianList.java

          @Override
          public int size() {
            return axes.size();
          }
    
          @Override
          public E get(int axis) {
            checkElementIndex(axis, size());
            int axisIndex = getAxisIndexForProductIndex(index, axis);
            return axes.get(axis).get(axisIndex);
          }
    
          @Override
          boolean isPartialView() {
            return true;
          }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/BufferCache.java

            // Only cache if we haven't reached the limit - O(1) check
            if (queueSize.get() < MAX_BUFFERS) {
                if (bufferQueue.offer(buf)) { // O(1) operation
                    queueSize.incrementAndGet();
                }
            }
            // If queue is full, let the buffer be garbage collected
        }
    
        /**
         * Get current cache statistics for monitoring
         * @return formatted statistics string
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            List<Exception> exceptions = new ArrayList<>();
    
            // When - Multiple threads get and release buffers
            for (int t = 0; t < threadCount; t++) {
                executor.submit(() -> {
                    try {
                        startLatch.await();
    
                        for (int i = 0; i < opsPerThread; i++) {
                            // Get buffer
                            byte[] buffer = BufferCache.getBuffer();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            Map<String, Integer> failCounts = (Map<String, Integer>) failCountsField.get(pool);
    
            // When: Add fail counts
            failCounts.put("192.168.1.1", 3);
            failCounts.put("192.168.1.2", 1);
    
            // Then: Should be accessible
            assertEquals(3, failCounts.get("192.168.1.1"));
            assertEquals(1, failCounts.get("192.168.1.2"));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            // Then - Verify no exceptions occurred
            if (!exceptions.isEmpty()) {
                fail("Concurrent operations caused exceptions: " + exceptions.get(0));
            }
    
            assertEquals(threadCount * opsPerThread, successCount.get(), "All operations should succeed");
        }
    
        /**
         * Test that session release with double-check pattern prevents race conditions.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top