Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 98 for incrementBy (0.08 sec)

  1. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            };
    
            byte[] buffer = new byte[1024];
            int length = testBlock.encode(buffer, 0);
    
            assertTrue(length > 0);
            assertEquals(1, andxBlock.batchLevel); // batchLevel should be incremented
        }
    
        @Test
        @DisplayName("Test encode with signature")
        void testEncodeWithSignature() {
            testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

            assertNull(crawlingConfigHelper.getCrawlingConfig("W123"));
        }
    
        public void test_store_counterIncrement() {
            final String sessionId = "testSession";
    
            // Test counter increment
            String sessionCountId1 = crawlingConfigHelper.store(sessionId, crawlingConfigHelper.getCrawlingConfig("W1"));
            assertEquals("testSession-1", sessionCountId1);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      /** Guard for waiting takes */
      private final Monitor.Guard notEmpty;
    
      /** Guard for waiting puts */
      private final Monitor.Guard notFull;
    
      // Internal helper methods
    
      /** Circularly increment i. */
      final int inc(int i) {
        return (++i == items.length) ? 0 : i;
      }
    
      /**
       * Inserts element at current put position, advances, and signals. Call only when occupying
       * monitor.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. .github/workflows/build.yml

          - master
      pull_request:
        types: [opened, labeled, unlabeled, synchronize]
    
    permissions:
      contents: read
    
    env:
      GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
    
    jobs:
      publish:
        runs-on: ubuntu-latest
        if: github.repository == 'square/okhttp' && github.ref == 'refs/heads/master'
    
        steps:
          - name: Checkout
            uses: actions/checkout@v5
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 07:15:58 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

            CacheBuilder.newBuilder()
                .removalListener(removalListener)
                .expireAfterWrite(10, MILLISECONDS)
                .ticker(ticker)
                .build(loader);
    
        // Increment 100 times
        for (int i = 0; i < 100; ++i) {
          cache.getUnchecked(10).incrementAndGet();
          ticker.advance(1, MILLISECONDS);
        }
    
        assertEquals(evictionCount.get() + 1, applyCount.get());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

             */
            public synchronized void updateState(int newState) {
                this.leaseState = newState;
                this.lastAccessTime = System.currentTimeMillis();
            }
    
            /**
             * Increment the epoch value
             */
            public synchronized void incrementEpoch() {
                this.epoch++;
            }
    
            /**
             * Check if lease has read caching
             *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            }
    
            /*
             * The message provided to batch has a batchLimit that is
             * higher than the current batchLevel so we will now encode
             * that chained message. Before doing so we must increment
             * the batchLevel of the andx message in case it itself is an
             * andx message and needs to perform the same check as above.
             */
    
            this.andx.batchLevel = this.batchLevel + 1;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            int counter1 = buffer1.getInt();
            int counter2 = buffer2.getInt();
    
            assertEquals(counter1 + 1, counter2, "Counter should increment between nonces");
        }
    
        @Test
        @DisplayName("Should generate secure random nonces when requested")
        void testSecureNonceGeneration() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            if (sessionKey == null) {
                throw new GeneralSecurityException("Session key not available for automatic rotation");
            }
    
            // Increment rotation counter for tracking and key derivation
            rotationCount++;
    
            // SMB3-compliant key rotation: Use rotation counter as per SMB3 specification
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multiset.java

       *
       * <p>This method refines {@link Collection#add}, which only <i>ensures</i> the presence of the
       * element, to further specify that a successful call must always increment the count of the
       * element, and the overall size of the collection, by one.
       *
       * <p>To both add the element and obtain the previous count of that element, use {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 19.5K bytes
    - Viewed (0)
Back to top