Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 174 for incremented (0.15 seconds)

  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 {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  2. 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.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

                    if (cleanupData != null) {
                        cleanupData.set(data);
                    }
                    if (cleanupReturns) {
                        // Simulate cleanup success: retry with decremented count
                        return tryStartOperation(operationName, data, remainingRetries - 1);
                    }
                    return false;
                }
            };
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  4. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        assertEquals(20, ticker.read());
    
        for (TimeUnit timeUnit : TimeUnit.values()) {
          ticker.setAutoIncrementStep(0, timeUnit);
          assertEquals(
              "Expected no auto-increment when setting autoIncrementStep to 0 " + timeUnit,
              30,
              ticker.read());
        }
      }
    
      public void testAutoIncrement_negative() {
        FakeTicker ticker = new FakeTicker();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            assertEquals(1, loadCount[0]); // Should not increment
    
            // Simulate time passing (more than 60 seconds)
            testFactory.lastLoadedTime = System.currentTimeMillis() - 61000L;
    
            // Should reload after cache expiry
            names = testFactory.getDataStoreNames();
            assertEquals(2, names.length);
            assertEquals(2, loadCount[0]); // Should increment
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  6. tests/gaussdb_test.go

        log_id bigint NOT NULL
    );
    
    ALTER TABLE public.log_usage ALTER COLUMN log_id ADD GENERATED BY DEFAULT AS IDENTITY (
        SEQUENCE NAME public.log_usage_log_id_seq
        START WITH 1
        INCREMENT BY 1
        NO MINVALUE
        NO MAXVALUE
        CACHE 1
    );
    	`).Error; err != nil {
    		t.Fatalf("failed to create table, got error %v", err)
    	}
    
    	columns, err := DB.Migrator().ColumnTypes("log_usage")
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

            fileProtocols[fileProtocols.length - 1] = prefix;
        }
    
        /**
         * Checks if the given URL is a file path protocol that requires directory and permission handling.
         * Used for incremental crawling directory detection and file permission processing.
         *
         * @param url the URL to check
         * @return true if the URL uses a file path protocol (smb, smb1, file, ftp, s3, gcs)
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 13:59:25 GMT 2026
    - 12.4K bytes
    - Click Count (1)
  8. api/maven-api-metadata/src/main/mdo/metadata.mdo

              <type>String</type>
            </field>
            <field>
              <name>buildNumber</name>
              <version>1.0.0+</version>
              <description>The incremental build number</description>
              <type>int</type>
            </field>
            <field>
              <name>localCopy</name>
              <version>1.0.0+</version>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed May 15 17:32:27 GMT 2024
    - 15.8K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

             *
             * @return true if should retry
             */
            public boolean shouldRetry() {
                return retryCount < 3;
            }
    
            /**
             * Increment retry count and update next retry time
             */
            public void incrementRetry() {
                retryCount++;
                // Exponential backoff: 1s, 2s, 4s
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  10. cmd/bucket-replication-metrics.go

    		m.expMovingAvg = float64(bytesSinceLastWindow) / duration.Seconds()
    		return
    	}
    
    	increment := float64(bytesSinceLastWindow) / duration.Seconds()
    	m.expMovingAvg = exponentialMovingAverage(beta, m.expMovingAvg, increment)
    }
    
    // exponentialMovingAverage calculates the exponential moving average
    func exponentialMovingAverage(beta, previousAvg, incrementAvg float64) float64 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 15 12:04:40 GMT 2024
    - 14.2K bytes
    - Click Count (0)
Back to Top