Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 107 for Increments (0.05 sec)

  1. 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)
  2. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

            assertEquals(250L, t.delay, "delay should be configurable");
            assertEquals("smb://custom/path/file.txt", t.url, "url should be configurable");
        }
    
        @Test
        @DisplayName("TestLocking increments numComplete")
        void testNumCompleteIncrement() {
            TestLocking t = new TestLocking();
            t.url = "smb://test/file.txt";
            t.numIter = 0; // Set to 0 so run() exits immediately
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/extra-models.md

    ///
    
    ## Reduce duplication { #reduce-duplication }
    
    Reducing code duplication is one of the core ideas in **FastAPI**.
    
    As code duplication increments the chances of bugs, security issues, code desynchronization issues (when you update in one place but not in the others), etc.
    
    And these models are all sharing a lot of the data and duplicating attribute names and types.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            int written = trans2SetFileInfo.writeDataWireFormat(buffer, 0);
    
            // Should report 26 bytes written (20 from encode + 6 increment)
            assertEquals(26, written);
    
            // Check that padding bytes are zeros
            // The implementation writes 8 bytes with writeInt8 but only increments by 6
            // This means bytes 20-27 will be zero (8 bytes written by writeInt8)
            for (int i = 20; i < 28; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. cmd/bucket-replication-stats.go

    	atomic.AddInt64(&v.nowCount, -1)
    	r.qCache.bucketStats[bucket] = v
    
    	atomic.AddInt64(&r.qCache.srQueueStats.nowBytes, -1*sz)
    	atomic.AddInt64(&r.qCache.srQueueStats.nowCount, -1)
    }
    
    // incProxy increments proxy metrics for proxied calls
    func (r *ReplicationStats) incProxy(bucket string, api replProxyAPI, isErr bool) {
    	if r != nil {
    		r.pCache.inc(bucket, api, isErr)
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

         */
        protected boolean noWaitOnFolder = false;
    
        /**
         * Increments the active thread count.
         */
        protected void startCrawling() {
            synchronized (crawlerContext.activeThreadCountLock) {
                crawlerContext.activeThreadCount++;
            }
        }
    
        /**
         * Decrements the active thread count.
         */
        protected void finishCrawling() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            assertEquals(1L, crawlerContext.decrementAndGetAccessCount());
    
            // Test large increments
            for (int i = 0; i < 1000; i++) {
                crawlerContext.incrementAndGetAccessCount();
            }
            assertEquals(1001L, crawlerContext.getAccessCount());
    
            // Test large decrements
            for (int i = 0; i < 500; i++) {
                crawlerContext.decrementAndGetAccessCount();
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                }
            }
            return true;
        }
    
        /**
         * Stores child URLs from the given set into the crawling queue for future processing.
         * This method filters out blank URLs and increments the depth for child URLs.
         *
         * @param urlQueue the parent URL queue item
         * @param childUrlSet the set of child URLs to be queued for crawling
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  9. internal/lru/lru.go

    	}
    	return l.root.prev
    }
    
    // lazyInit lazily initializes a zero List Value.
    func (l *LruList[K, V]) lazyInit() {
    	if l.root.next == nil {
    		l.Init()
    	}
    }
    
    // insert inserts e after at, increments l.len, and returns e.
    func (l *LruList[K, V]) insert(e, at *Entry[K, V]) *Entry[K, V] {
    	e.prev = at
    	e.next = at.next
    	e.prev.next = e
    	e.next.prev = e
    	e.list = l
    	l.len++
    	return e
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ldap/LdapManager.java

             *
             * @return The directory context.
             */
            public DirContext get() {
                return context;
            }
    
            /**
             * Increments the counter.
             */
            public void inc() {
                counter++;
            }
    
            @Override
            public void close() {
                if (counter > 1) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
Back to top