Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 98 for incrementBy (0.05 sec)

  1. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

         */
        private int getFailureCount(ChangeNotificationHandle handle) {
            return failureCounts.getOrDefault(handle.getDirectoryPath(), 0);
        }
    
        /**
         * Increment failure count for a handle
         *
         * @param handle notification handle
         */
        private void incrementFailureCount(ChangeNotificationHandle handle) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

        }
    
        @Test
        @DisplayName("checkRelease(): when connected and usage>0 performs check without throwing")
        void checkRelease_connectedAndInUse_doesNotThrow() {
            // Arrange: spy isConnected() to return true; increment usage via acquire()
            CIFSContext ctx = mock(CIFSContext.class);
            SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx));
            doReturn(true).when(trace).isConnected();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

    @Suppress("UNCHECKED_CAST")
    internal fun Array<String>.concat(value: String): Array<String> {
      val result = copyOf(size + 1)
      result[result.lastIndex] = value
      return result as Array<String>
    }
    
    /** Increments [startIndex] until this string is not ASCII whitespace. Stops at [endIndex]. */
    internal fun String.indexOfFirstNonAsciiWhitespace(
      startIndex: Int = 0,
      endIndex: Int = length,
    ): Int {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

        /**
         * Checks if the cache has pending changes
         * @return true if cache has changes
         */
        public boolean hasChanges() {
            return hasChanges;
        }
    
        /**
         * Get and increment inconsistency count
         *
         * @return the current inconsistency count
         */
        public int getInconsistencyCount() {
            return inconsistencyCount.getAndIncrement();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/Constants.java

        public static final String APPEND_QUERY_PARAMETER_PROPERTY = "append.query.parameter";
    
        /** Property key for incremental crawling configuration. */
        public static final String INCREMENTAL_CRAWLING_PROPERTY = "crawling.incremental";
    
        /** Property key for crawling thread count configuration. */
        public static final String CRAWLING_THREAD_COUNT_PROPERTY = "crawling.thread.count";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 34.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

        }
    
        public void test_statsObjectIncrementDecrement() {
            StatsObject statsObject = new StatsObject();
            assertEquals(1, statsObject.count.get());
    
            assertEquals(2, statsObject.increment());
            assertEquals(2, statsObject.count.get());
    
            assertEquals(1, statsObject.decrement());
            assertEquals(1, statsObject.count.get());
    
            assertEquals(0, statsObject.decrement());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 15K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

      @GwtIncompatible // StrictMath
      @SuppressWarnings("strictfp") // Guava still supports Java 8
      private strictfp double trueLog2(double d) {
        double trueLog2 = StrictMath.log(d) / StrictMath.log(2);
        // increment until it's >= the true value
        while (StrictMath.pow(2.0, trueLog2) < d) {
          trueLog2 = StrictMath.nextUp(trueLog2);
        }
        // decrement until it's <= the true value
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

                .removalListener(countingListener)
                .ticker(fakeTicker)
                .maximumSize(2)
                .build();
    
        // Add more than two elements to increment size removals.
        cache.put(3, 20);
        cache.put(6, 2);
        cache.put(98, 45);
        cache.put(56, 76);
        cache.put(23, 84);
    
        // Replace the two present elements.
        cache.put(23, 20);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. docs/smb3-features/01-smb3-lease-design.md

        private final AtomicLong leaseBreaks = new AtomicLong();
        private final AtomicLong leaseUpgrades = new AtomicLong();
        private final AtomicLong leaseDowngrades = new AtomicLong();
        
        // Getters and increment methods
    }
    ```
    
    ## 12. Future Enhancements
    
    1. **Directory Leases**: Extend lease support for directories
    2. **Lease Key Persistence**: Save lease keys for reconnection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/InetAddresses.java

       * both IPv4 and IPv6 addresses.
       *
       * @param address the InetAddress to increment
       * @return a new InetAddress that is one more than the passed in address
       * @throws IllegalArgumentException if InetAddress is at the end of its range
       * @since 10.0
       */
      public static InetAddress increment(InetAddress address) {
        byte[] addr = address.getAddress();
        int i = addr.length - 1;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
Back to top